Change LOCK statements to start new transaction
authorHiroshi Inoue
Fri, 9 Aug 2002 10:04:21 +0000 (10:04 +0000)
committerHiroshi Inoue
Fri, 9 Aug 2002 10:04:21 +0000 (10:04 +0000)
in auto-commit off mode.

src/interfaces/odbc/statement.c
src/interfaces/odbc/statement.h

index 66dbb0a41d545eeffffc2cd562fa66dfa6e57fa6..c8742a6cd36a51698b5fb35277ba9adbffa5f919 100644 (file)
@@ -68,6 +68,9 @@ static struct
    {
        STMT_TYPE_PROCCALL, "{"
    },
+   {
+       STMT_TYPE_LOCK, "LOCK"
+   },
    {
        0, NULL
    }
index f1c2ddd4c1ffe552a2d9235e2723d223bfd94584..fd220671e5911baae1a1010422e3fc5193580ccc 100644 (file)
@@ -96,7 +96,8 @@ enum
    STMT_TYPE_DROP,
    STMT_TYPE_GRANT,
    STMT_TYPE_REVOKE,
-   STMT_TYPE_PROCCALL
+   STMT_TYPE_PROCCALL,
+   STMT_TYPE_LOCK
 };
 
 #define STMT_UPDATE(stmt)  (stmt->statement_type > STMT_TYPE_SELECT)