no more mysql

This commit is contained in:
chrislu
2025-09-03 15:34:39 -07:00
parent bec567598f
commit 323193cf8c
7 changed files with 35 additions and 96 deletions

View File

@@ -252,12 +252,8 @@ func (s *PostgreSQLServer) handleSimpleQuery(session *PostgreSQLSession, query s
}
}()
// Use PostgreSQL parser if available, fall back to standard engine
if s.sqlEngineWithParser != nil {
result, err = s.sqlEngineWithParser.ExecuteSQL(ctx, cleanQuery)
} else {
result, err = s.sqlEngine.ExecuteSQL(ctx, cleanQuery)
}
// The sqlEngineWithParser is always initialized, so use it directly
result, err = s.sqlEngineWithParser.ExecuteSQL(ctx, cleanQuery)
}()
if err != nil {