Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65dc2e0

Browse files
author
Hiroshi Inoue
committed
Change LOCK statements to start new transaction
in auto-commit off mode.
1 parent41e7328 commit65dc2e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎src/interfaces/odbc/statement.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ static struct
6868
{
6969
STMT_TYPE_PROCCALL,"{"
7070
},
71+
{
72+
STMT_TYPE_LOCK,"LOCK"
73+
},
7174
{
7275
0,NULL
7376
}

‎src/interfaces/odbc/statement.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ enum
9696
STMT_TYPE_DROP,
9797
STMT_TYPE_GRANT,
9898
STMT_TYPE_REVOKE,
99-
STMT_TYPE_PROCCALL
99+
STMT_TYPE_PROCCALL,
100+
STMT_TYPE_LOCK
100101
};
101102

102103
#defineSTMT_UPDATE(stmt)(stmt->statement_type > STMT_TYPE_SELECT)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp