When sending malformed SQL via ODBC to Virtuoso virtuoso-php5-t
crashes without any error.
I'm executing the following PHP:

$db=odbc_connect('virtuoso','dba','dba');
$result = odbc_exec($db,'SELECT * FROM DB.DBA.SYS_USERS');
print_r(odbc_result_all($result));

everything works fine and as expected. If I add a typo to the SQL
query, such as 'aSELECT * FROM DB.DBA.SYS_USERS' the service crashes
without any error message and I have to restart it manually.
Since we want to port a larger application from MySQL's SQL to
Virtuoso'SQL, where the syntax unfortunately differs at quite a few
places, it is almost impossible to debug the SQL code.
Any ideas what could be the reason and how to solve this?

Sören

Reply via email to