so that ODBC driver doesn't go belly up by failing to recognize a
SELECT as such.
#include "qresult.h"
#include "convert.h"
#include "environ.h"
+
#include <stdio.h>
#include <string.h>
+#include <ctype.h>
#ifndef WIN32
#include "iodbc.h"
{
int i;
+ /* ignore leading whitespace in query string */
+ while (*statement && isspace((unsigned char) *statement))
+ statement++;
+
for (i = 0; Statement_Type[i].s; i++)
if ( ! strnicmp(statement, Statement_Type[i].s, strlen(Statement_Type[i].s)))
return Statement_Type[i].type;