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
6f03ad07
Commit
6f03ad07
authored
Feb 20, 2008
by
jani@hynda.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a test.
parent
07b9a9c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
mysql-test/r/change_user.result
mysql-test/r/change_user.result
+2
-2
mysql-test/t/change_user.test
mysql-test/t/change_user.test
+5
-0
sql/mysqld.cc
sql/mysqld.cc
+1
-5
No files found.
mysql-test/r/change_user.result
View file @
6f03ad07
...
...
@@ -4,14 +4,14 @@ SELECT @@session.sql_big_selects;
1
SELECT @@global.max_join_size;
@@global.max_join_size
18446744073709551615
MAX_JOIN_SIZE
change_user
SELECT @@session.sql_big_selects;
@@session.sql_big_selects
1
SELECT @@global.max_join_size;
@@global.max_join_size
18446744073709551615
MAX_JOIN_SIZE
SET @@global.max_join_size = 10000;
SET @@session.max_join_size = default;
change_user
...
...
mysql-test/t/change_user.test
View file @
6f03ad07
...
...
@@ -4,17 +4,22 @@
--
echo
Bug
#20023
SELECT
@@
session
.
sql_big_selects
;
--
replace_result
18446744073709551615
MAX_JOIN_SIZE
4294967295
MAX_JOIN_SIZE
SELECT
@@
global
.
max_join_size
;
--
echo
change_user
--
change_user
SELECT
@@
session
.
sql_big_selects
;
--
replace_result
18446744073709551615
MAX_JOIN_SIZE
4294967295
MAX_JOIN_SIZE
SELECT
@@
global
.
max_join_size
;
SET
@@
global
.
max_join_size
=
10000
;
SET
@@
session
.
max_join_size
=
default
;
--
echo
change_user
--
change_user
SELECT
@@
session
.
sql_big_selects
;
# On some machines the following will result into a warning
--
disable_warnings
SET
@@
global
.
max_join_size
=
-
1
;
--
enable_warnings
SET
@@
session
.
max_join_size
=
default
;
--
echo
change_user
--
change_user
...
...
sql/mysqld.cc
View file @
6f03ad07
...
...
@@ -308,11 +308,7 @@ TYPELIB thread_handling_typelib=
const
char
*
first_keyword
=
"first"
,
*
binary_keyword
=
"BINARY"
;
const
char
*
my_localhost
=
"localhost"
,
*
delayed_user
=
"DELAYED"
;
#if SIZEOF_OFF_T > 4 && defined(BIG_TABLES)
#define GET_HA_ROWS GET_ULL
#else
#define GET_HA_ROWS GET_ULONG
#endif
#define GET_HA_ROWS (~ (ha_rows) 0)
bool
opt_large_files
=
sizeof
(
my_off_t
)
>
4
;
...
...
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