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
d72b4682
Commit
d72b4682
authored
Oct 24, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge abotchkov@production.mysql.com:mysql-5.0-opt1
into mysql.com:/home/hf/work/current_stmt/my50-current_stmt
parents
3cf49a3d
81dac08b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
include/mysql.h
include/mysql.h
+0
-6
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+6
-0
No files found.
include/mysql.h
View file @
d72b4682
...
@@ -293,12 +293,6 @@ typedef struct st_mysql
...
@@ -293,12 +293,6 @@ typedef struct st_mysql
/* needed for embedded server - no net buffer to store the 'info' */
/* needed for embedded server - no net buffer to store the 'info' */
char
*
info_buffer
;
char
*
info_buffer
;
#endif
#endif
/*
In embedded server it points to the statement that is processed
in the current query. We store some results directly in statement
fields then.
*/
struct
st_mysql_stmt
*
current_stmt
;
}
MYSQL
;
}
MYSQL
;
typedef
struct
st_mysql_res
{
typedef
struct
st_mysql_res
{
...
...
libmysqld/lib_sql.cc
View file @
d72b4682
...
@@ -100,7 +100,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
...
@@ -100,7 +100,7 @@ emb_advanced_command(MYSQL *mysql, enum enum_server_command command,
mysql
->
affected_rows
=
~
(
my_ulonglong
)
0
;
mysql
->
affected_rows
=
~
(
my_ulonglong
)
0
;
mysql
->
field_count
=
0
;
mysql
->
field_count
=
0
;
net
->
last_errno
=
0
;
net
->
last_errno
=
0
;
mysql
->
current_stmt
=
stmt
;
thd
->
current_stmt
=
stmt
;
thd
->
store_globals
();
// Fix if more than one connect
thd
->
store_globals
();
// Fix if more than one connect
/*
/*
...
...
sql/sql_class.h
View file @
d72b4682
...
@@ -1097,6 +1097,12 @@ public:
...
@@ -1097,6 +1097,12 @@ public:
struct
st_mysql_data
**
data_tail
;
struct
st_mysql_data
**
data_tail
;
void
clear_data_list
();
void
clear_data_list
();
struct
st_mysql_data
*
alloc_new_dataset
();
struct
st_mysql_data
*
alloc_new_dataset
();
/*
In embedded server it points to the statement that is processed
in the current query. We store some results directly in statement
fields then.
*/
struct
st_mysql_stmt
*
current_stmt
;
#endif
#endif
NET
net
;
// client connection descriptor
NET
net
;
// client connection descriptor
MEM_ROOT
warn_root
;
// For warnings and errors
MEM_ROOT
warn_root
;
// For warnings and errors
...
...
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