aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/statement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/odbc/statement.c')
-rw-r--r--src/interfaces/odbc/statement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index 391eb73bcbc..66dbb0a41d5 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -439,7 +439,7 @@ statement_type(char *statement)
int i;
/* ignore leading whitespace in query string */
- while (*statement && isspace((unsigned char) *statement))
+ while (*statement && (isspace((unsigned char) *statement) || *statement == '('))
statement++;
for (i = 0; Statement_Type[i].s; i++)