mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 21:47:57 +08:00
no more mysql
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user