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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4ab6bc4b
Commit
4ab6bc4b
authored
Mar 27, 2006
by
monty@mysql.com
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
e4f9d235
3dcbbb7c
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 @
4ab6bc4b
...
@@ -287,8 +287,10 @@ typedef struct st_mysql
...
@@ -287,8 +287,10 @@ typedef struct st_mysql
from mysql_stmt_close if close had to cancel result set of this object.
from mysql_stmt_close if close had to cancel result set of this object.
*/
*/
my_bool
*
unbuffered_fetch_owner
;
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' */
/* needed for embedded server - no net buffer to store the 'info' */
char
*
info_buffer
;
char
*
info_buffer
;
#endif
}
MYSQL
;
}
MYSQL
;
typedef
struct
st_mysql_res
{
typedef
struct
st_mysql_res
{
...
...
sql-common/client.c
View file @
4ab6bc4b
...
@@ -1428,13 +1428,7 @@ mysql_init(MYSQL *mysql)
...
@@ -1428,13 +1428,7 @@ mysql_init(MYSQL *mysql)
mysql
->
free_me
=
1
;
mysql
->
free_me
=
1
;
}
}
else
else
{
#if defined(EMBEDDED_LIBRARY) || MYSQL_VERSION_ID >= 50100
bzero
((
char
*
)
(
mysql
),
sizeof
(
*
(
mysql
)));
bzero
((
char
*
)
(
mysql
),
sizeof
(
*
(
mysql
)));
#else
bzero
((
char
*
)
(
mysql
),
offsetof
(
MYSQL
,
info_buffer
));
#endif
}
mysql
->
options
.
connect_timeout
=
CONNECT_TIMEOUT
;
mysql
->
options
.
connect_timeout
=
CONNECT_TIMEOUT
;
mysql
->
last_used_con
=
mysql
->
next_slave
=
mysql
->
master
=
mysql
;
mysql
->
last_used_con
=
mysql
->
next_slave
=
mysql
->
master
=
mysql
;
mysql
->
charset
=
default_charset_info
;
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