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
6f086e56
Commit
6f086e56
authored
Sep 22, 2007
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
into shellback.(none):/home/msvensson/mysql/my51-bug30843
parents
eb0a290b
b6708a97
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+5
-0
sql/mysql_priv.h
sql/mysql_priv.h
+6
-1
sql/udf_example.c
sql/udf_example.c
+2
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
6f086e56
...
...
@@ -3742,6 +3742,11 @@ sub mysqld_arguments ($$$$) {
mtr_add_arg
(
$args
,
"
%s--language=%s
",
$prefix
,
$path_language
);
mtr_add_arg
(
$args
,
"
%s--tmpdir=
$opt_tmpdir
",
$prefix
);
# Increase default connect_timeout to avoid intermittent
# disconnects when test servers are put under load
# see BUG#28359
mtr_add_arg
(
$args
,
"
%s--connect-timeout=60
",
$prefix
);
if
(
$opt_valgrind_mysqld
)
{
mtr_add_arg
(
$args
,
"
%s--skip-safemalloc
",
$prefix
);
...
...
sql/mysql_priv.h
View file @
6f086e56
...
...
@@ -327,8 +327,13 @@ class Default_object_creation_ctx : public Object_creation_ctx
#define PRECISION_FOR_DOUBLE 53
#define PRECISION_FOR_FLOAT 24
/*
Default time to wait before aborting a new client connection
that does not respond to "initial server greeting" timely
*/
#define CONNECT_TIMEOUT 10
/* The following can also be changed from the command line */
#define CONNECT_TIMEOUT 5 // Do not wait long for connect
#define DEFAULT_CONCURRENCY 10
#define DELAYED_LIMIT 100
/* pause after xxx inserts */
#define DELAYED_QUEUE_SIZE 1000
...
...
sql/udf_example.c
View file @
6f086e56
...
...
@@ -1106,11 +1106,12 @@ char * is_const(UDF_INIT *initid, UDF_ARGS *args __attribute__((unused)),
}
my_bool
check_const_len_init
(
UDF_INIT
*
initid
,
UDF_ARGS
*
args
,
char
*
message
)
{
if
(
args
->
arg_count
!=
1
)
{
strmov
(
message
,
"
IS_CONST
accepts only one argument"
);
strmov
(
message
,
"
CHECK_CONST_LEN
accepts only one argument"
);
return
1
;
}
if
(
args
->
args
[
0
]
==
0
)
...
...
@@ -1140,5 +1141,4 @@ char * check_const_len(UDF_INIT *initid, UDF_ARGS *args __attribute__((unused)),
}
#endif
/* HAVE_DLOPEN */
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