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
8b1a1c6c
Commit
8b1a1c6c
authored
Mar 27, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge monty@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
parents
273aa489
783780f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
include/mysql.h
include/mysql.h
+2
-0
sql-common/client.c
sql-common/client.c
+0
-6
No files found.
include/mysql.h
View file @
8b1a1c6c
...
...
@@ -287,8 +287,10 @@ typedef struct st_mysql
from mysql_stmt_close if close had to cancel result set of this object.
*/
my_bool
*
unbuffered_fetch_owner
;
#if defined(EMBEDDED_LIBRARY) || defined(EMBEDDED_LIBRARY_COMPATIBLE) || MYSQL_VERSION_ID >= 50100
/* needed for embedded server - no net buffer to store the 'info' */
char
*
info_buffer
;
#endif
}
MYSQL
;
typedef
struct
st_mysql_res
{
...
...
sql-common/client.c
View file @
8b1a1c6c
...
...
@@ -1428,13 +1428,7 @@ mysql_init(MYSQL *mysql)
mysql
->
free_me
=
1
;
}
else
{
#if defined(EMBEDDED_LIBRARY) || MYSQL_VERSION_ID >= 50100
bzero
((
char
*
)
(
mysql
),
sizeof
(
*
(
mysql
)));
#else
bzero
((
char
*
)
(
mysql
),
offsetof
(
MYSQL
,
info_buffer
));
#endif
}
mysql
->
options
.
connect_timeout
=
CONNECT_TIMEOUT
;
mysql
->
last_used_con
=
mysql
->
next_slave
=
mysql
->
master
=
mysql
;
mysql
->
charset
=
default_charset_info
;
...
...
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