Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
eb680470
Commit
eb680470
authored
Oct 30, 2000
by
tim@threads.polyesthetic.msg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_parse.cc add send_ok() for BEGIN WORK
sql_yacc.yy SQLCOM_COMMIT => SQLCOM_BEGIN for BEGIN_SYM
parent
c5a1c3c7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
sql/sql_parse.cc
sql/sql_parse.cc
+1
-0
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
sql/sql_parse.cc
View file @
eb680470
...
@@ -1697,6 +1697,7 @@ mysql_execute_command(void)
...
@@ -1697,6 +1697,7 @@ mysql_execute_command(void)
case
SQLCOM_BEGIN
:
case
SQLCOM_BEGIN
:
thd
->
options
|=
OPTION_BEGIN
;
thd
->
options
|=
OPTION_BEGIN
;
thd
->
server_status
|=
SERVER_STATUS_IN_TRANS
;
thd
->
server_status
|=
SERVER_STATUS_IN_TRANS
;
send_ok
(
&
thd
->
net
);
break
;
break
;
case
SQLCOM_COMMIT
:
case
SQLCOM_COMMIT
:
thd
->
options
&=
~
OPTION_BEGIN
;
thd
->
options
&=
~
OPTION_BEGIN
;
...
...
sql/sql_yacc.yy
View file @
eb680470
...
@@ -2838,7 +2838,7 @@ grant_option:
...
@@ -2838,7 +2838,7 @@ grant_option:
| WITH GRANT OPTION { Lex->grant |= GRANT_ACL;}
| WITH GRANT OPTION { Lex->grant |= GRANT_ACL;}
begin:
begin:
BEGIN_SYM { Lex->sql_command = SQLCOM_
COMMIT
;} opt_work
BEGIN_SYM { Lex->sql_command = SQLCOM_
BEGIN
;} opt_work
opt_work:
opt_work:
/* empty */ {}
/* empty */ {}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment