Skip to content

Release v0.2.2

Latest
Compare
Choose a tag to compare
@designcomputer designcomputer released this 18 Apr 20:29
· 1 commit to main since this release

Release v0.2.2

Overview

This release fixes issues with SQL commands that return result sets, including SHOW INDEX, SHOW CREATE TABLE, and DESCRIBE. Previously, these commands would return an error: "Error executing query: Unread result found".

What's New

  • Fixed Result Set Handling: Changed the condition from checking the query text to checking for result sets via cursor.description, allowing all result-returning commands to work properly
  • Improved Error Handling: Added robust error handling for result fetching operations
  • Enhanced Debugging: Added additional debug output to aid in troubleshooting

Affected Components

  • server.py: Modified result set handling logic

Testing

This release has been tested with:

  • SELECT queries
  • SHOW CREATE TABLE commands
  • SHOW INDEX commands
  • DESCRIBE commands

All tests passed successfully, demonstrating that the fix properly handles both SELECT and non-SELECT queries that return result sets.