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
fb8547e0
Commit
fb8547e0
authored
Feb 05, 2001
by
tim@threads.polyesthetic.msg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perl cleanups in sql-bench.
Thanks to Chris Richmond MD6-FDC <crichmon@pcocd2.intel.com> for the patch.
parent
a508cd8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
sql-bench/crash-me.sh
sql-bench/crash-me.sh
+3
-4
sql-bench/server-cfg.sh
sql-bench/server-cfg.sh
+1
-1
No files found.
sql-bench/crash-me.sh
View file @
fb8547e0
#!@PERL@
#!@PERL@
-w
# Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
#
# This library is free software; you can redistribute it and/or
...
...
@@ -1333,8 +1333,7 @@ report("index in create table",'index_in_create',
# The following must be executed as we need the value of end_drop_keyword
# later
if
(!
defined
(
$limits
{
'create_index'
})
&&
!
defined
(
$limits
{
'drop_index'
})
)
if
(
defined
(
$limits
{
'create_index'
})
&&
defined
(
$limits
{
'drop_index'
}))
{
if
(
$res
=
safe_query
(
"create index crash_q on crash_me (a)"
))
{
...
...
@@ -2659,7 +2658,7 @@ sub safe_query_result
$sth
->finish
;
return
(
$result_type
==
8
)
? 0 : 1
;
}
if
(
result_type
==
8
)
{
if
(
$
result_type
==
8
)
{
$sth
->finish
;
return
1
;
}
...
...
sql-bench/server-cfg.sh
View file @
fb8547e0
...
...
@@ -124,7 +124,7 @@ sub new
$limits
{
'max_conditions'
}
=
9999
;
# (Actually not a limit)
$limits
{
'max_columns'
}
=
2000
;
# Max number of columns in table
# Windows can't handle that many files in one directory
$limits
{
'max_tables'
}
=
(
$machine
=
~
"^win"
)
? 5000 : 65000
;
$limits
{
'max_tables'
}
=
(
(
$machine
||
''
)
=
~
"^win"
)
? 5000 : 65000
;
$limits
{
'max_text_size'
}
=
65000
;
# Max size with default buffers.
$limits
{
'query_size'
}
=
1000000
;
# Max size with default buffers.
$limits
{
'max_index'
}
=
16
;
# Max number of keys
...
...
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