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
715f8747
Commit
715f8747
authored
Jul 18, 2003
by
kostja@oak.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few compile-time bugs fixed
parent
09e53b01
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
include/mysql.h
include/mysql.h
+1
-1
sql/sql_class.cc
sql/sql_class.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+1
-1
No files found.
include/mysql.h
View file @
715f8747
...
...
@@ -229,7 +229,7 @@ typedef struct st_mysql
my_bool
reconnect
;
/* set to 1 if automatic reconnect */
/* session-wide random string */
char
scramble
[
max
(
SCRAMBLE_LENGTH
,
SCRAMBLE_LENGTH_323
)
+
1
];
char
scramble
[
SCRAMBLE_LENGTH
+
1
];
/*
Set if this is the original connection, not a master or a slave we have
...
...
sql/sql_class.cc
View file @
715f8747
...
...
@@ -139,7 +139,7 @@ THD::THD():user_time(0), is_fatal_error(0),
set_query_id
=
1
;
db_access
=
NO_ACCESS
;
version
=
refresh_version
;
// For boot
*
scramble
=
*
scramble_323
=
'\0'
;
*
scramble
=
'\0'
;
init
();
/* Initialize sub structures */
...
...
sql/sql_class.h
View file @
715f8747
...
...
@@ -547,7 +547,7 @@ class THD :public ilink
DYNAMIC_ARRAY
user_var_events
;
/* scramble - random string sent to client on handshake */
char
scramble
[
max
(
SCRAMBLE_LENGTH
,
SCRAMBLE_LENGTH_323
)
+
1
];
char
scramble
[
SCRAMBLE_LENGTH
+
1
];
uint8
query_cache_type
;
// type of query cache processing
bool
slave_thread
;
...
...
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