haxetink / tink_sql

SQL embedded into Haxe
MIT License
54 stars 17 forks source link

[php] "sql_debug" compiler flag is not working as expected #126

Closed cedx closed 3 years ago

cedx commented 3 years ago

The sql_debug compiler flag allows us to debug the generated SQL queries, but when using the PHP target (i.e. the PDO driver), for most SELECT queries, nothing is traced.

It seems that these queries go through the syncResult method instead of the run method, but the syncResult method does not have any tracing statement.