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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
70c816c8
Commit
70c816c8
authored
Oct 20, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
977187eb
e3c4993b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
2 deletions
+22
-2
client/mysql.cc
client/mysql.cc
+2
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
mysql-test/r/im_life_cycle.result
mysql-test/r/im_life_cycle.result
+1
-1
mysql-test/t/im_life_cycle.imtest
mysql-test/t/im_life_cycle.imtest
+1
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+17
-0
No files found.
client/mysql.cc
View file @
70c816c8
...
@@ -1010,10 +1010,12 @@ static int read_and_execute(bool interactive)
...
@@ -1010,10 +1010,12 @@ static int read_and_execute(bool interactive)
#elif defined(__WIN__)
#elif defined(__WIN__)
if
(
!
tmpbuf
.
is_alloced
())
if
(
!
tmpbuf
.
is_alloced
())
tmpbuf
.
alloc
(
65535
);
tmpbuf
.
alloc
(
65535
);
tmpbuf
.
length
(
0
);
buffer
.
length
(
0
);
buffer
.
length
(
0
);
unsigned
long
clen
;
unsigned
long
clen
;
do
do
{
{
line
=
my_cgets
((
char
*
)
tmpbuf
.
ptr
(),
tmpbuf
.
alloced_length
()
-
1
,
&
clen
);
buffer
.
append
(
line
,
clen
);
buffer
.
append
(
line
,
clen
);
/*
/*
if we got buffer fully filled than there is a chance that
if we got buffer fully filled than there is a chance that
...
...
mysql-test/mysql-test-run.pl
View file @
70c816c8
...
@@ -243,7 +243,7 @@ our $opt_sleep_time_after_restart= 1;
...
@@ -243,7 +243,7 @@ our $opt_sleep_time_after_restart= 1;
our
$opt_sleep_time_for_delete
=
10
;
our
$opt_sleep_time_for_delete
=
10
;
our
$opt_testcase_timeout
;
our
$opt_testcase_timeout
;
our
$opt_suite_timeout
;
our
$opt_suite_timeout
;
my
$default_testcase_timeout
=
1
0
;
# 10
min max
my
$default_testcase_timeout
=
1
5
;
# 15
min max
my
$default_suite_timeout
=
120
;
# 2 hours max
my
$default_suite_timeout
=
120
;
# 2 hours max
our
$opt_socket
;
our
$opt_socket
;
...
...
mysql-test/r/im_life_cycle.result
View file @
70c816c8
...
@@ -21,7 +21,7 @@ instance_name status version
...
@@ -21,7 +21,7 @@ instance_name status version
mysqld2 online VERSION
mysqld2 online VERSION
SHOW VARIABLES LIKE 'port';
SHOW VARIABLES LIKE 'port';
Variable_name Value
Variable_name Value
port
9312
port
IM_MYSQLD1_PORT
STOP INSTANCE mysqld2;
STOP INSTANCE mysqld2;
SHOW INSTANCES;
SHOW INSTANCES;
instance_name status
instance_name status
...
...
mysql-test/t/im_life_cycle.imtest
View file @
70c816c8
...
@@ -46,6 +46,7 @@ SHOW INSTANCE STATUS mysqld2;
...
@@ -46,6 +46,7 @@ SHOW INSTANCE STATUS mysqld2;
--connect (mysql_con,localhost,root,,mysql,$IM_MYSQLD1_PORT,$IM_MYSQLD1_SOCK)
--connect (mysql_con,localhost,root,,mysql,$IM_MYSQLD1_PORT,$IM_MYSQLD1_SOCK)
--connection mysql_con
--connection mysql_con
--replace_result $IM_MYSQLD1_PORT IM_MYSQLD1_PORT
SHOW VARIABLES LIKE 'port';
SHOW VARIABLES LIKE 'port';
--connection default
--connection default
...
...
support-files/mysql.spec.sh
View file @
70c816c8
%define mysql_version @VERSION@
%define mysql_version @VERSION@
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
# use "rpmbuild --with static" or "rpm --define '_with_static 1'" (for RPM 3.x)
# to enable static linking (off by default)
# to enable static linking (off by default)
%
{
?_with_static:%define STATIC_BUILD 1
}
%
{
?_with_static:%define STATIC_BUILD 1
}
%
{!
?_with_static:%define STATIC_BUILD 0
}
%
{!
?_with_static:%define STATIC_BUILD 0
}
# use "rpmbuild --with yassl" or "rpm --define '_with_yassl 1'" (for RPM 3.x)
# to build with yaSSL support (off by default)
%
{
?_with_yassl:%define YASSL_BUILD 1
}
%
{!
?_with_yassl:%define YASSL_BUILD 0
}
%if %
{
STATIC_BUILD
}
%if %
{
STATIC_BUILD
}
%define release 0
%define release 0
%else
%else
...
@@ -239,6 +246,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
...
@@ -239,6 +246,9 @@ sh -c "PATH=\"${MYSQL_BUILD_PATH:-$PATH}\" \
--with-unix-socket-path=/var/lib/mysql/mysql.sock
\
--with-unix-socket-path=/var/lib/mysql/mysql.sock
\
--prefix=/
\
--prefix=/
\
--with-extra-charsets=complex
\
--with-extra-charsets=complex
\
%if %{YASSL_BUILD}
--with-yassl
\
%endif
--exec-prefix=%{_exec_prefix}
\
--exec-prefix=%{_exec_prefix}
\
--libexecdir=%{_sbindir}
\
--libexecdir=%{_sbindir}
\
--libdir=%{_libdir}
\
--libdir=%{_libdir}
\
...
@@ -684,6 +694,13 @@ fi
...
@@ -684,6 +694,13 @@ fi
# itself - note that they must be ordered by date (important when
# itself - note that they must be ordered by date (important when
# merging BK trees)
# merging BK trees)
%changelog
%changelog
*
Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
- Made yaSSL support an option
(
off by default
)
*
Wed Oct 19 2005 Kent Boortz <kent@mysql.com>
- Enabled yaSSL support
*
Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
*
Sat Oct 15 2005 Kent Boortz <kent@mysql.com>
...
...
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