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
4fbe0d14
Commit
4fbe0d14
authored
Apr 05, 2008
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M51/push-5.1
into trift2.:/MySQL/M51/work-5.1
parents
b8dc8d19
e12312d8
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
10 deletions
+30
-10
Makefile.am
Makefile.am
+11
-6
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+1
-1
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+3
-0
mysql-test/r/query_cache_debug.result
mysql-test/r/query_cache_debug.result
+1
-1
mysql-test/t/query_cache_debug.test
mysql-test/t/query_cache_debug.test
+1
-1
sql/Makefile.am
sql/Makefile.am
+7
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-0
support-files/mysql.spec.sh
support-files/mysql.spec.sh
+4
-0
No files found.
Makefile.am
View file @
4fbe0d14
...
...
@@ -135,12 +135,17 @@ test-bt:
-
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
normal+rowrepl
--force
--timer
\
--skip-ndbcluster
--mysqld
=
--binlog-format
=
row
-
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
ps+rowrepl+NDB
--force
--timer
\
--ps-protocol
--mysqld
=
--binlog-format
=
row
-
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
NDB
--force
--timer
\
--with-ndbcluster-only
-
if
[
-e
bin/ndbd
-o
-e
storage/ndb/src/kernel/ndbd
]
;
then
\
cd
mysql-test
;
\
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
ps+rowrepl+NDB
--force
--timer
\
--ps-protocol
--mysqld
=
--binlog-format
=
row
;
\
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
NDB
--force
--timer
\
--with-ndbcluster-only
;
\
else
\
echo
"no program found for 'ndbcluster' tests - skipped testing"
;
\
fi
-
if
[
-e
bin/mysqltest_embedded
-o
-e
libmysqld/examples/mysqltest_embedded
]
;
then
\
cd
mysql-test
;
MTR_BUILD_THREAD
=
auto
\
@PERL@ ./mysql-test-run.pl
--comment
=
embedded
--force
--timer
\
...
...
libmysqld/CMakeLists.txt
View file @
4fbe0d14
...
...
@@ -187,7 +187,7 @@ SET(LIBMYSQLD_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
../sql/strfunc.cc ../sql/table.cc ../sql/thr_malloc.cc
../sql/time.cc ../sql/tztime.cc ../sql/uniques.cc ../sql/unireg.cc
../sql/partition_info.cc ../sql/sql_connect.cc
../sql/scheduler.cc
../sql/scheduler.cc
../sql/stacktrace.c
${
GEN_SOURCES
}
${
LIB_SOURCES
}
)
...
...
libmysqld/lib_sql.cc
View file @
4fbe0d14
...
...
@@ -1124,6 +1124,9 @@ bool Protocol::net_store_data(const uchar *from, size_t length)
return
FALSE
;
}
#if defined(_MSC_VER) && _MSC_VER < 1400
#define vsnprintf _vsnprintf
#endif
int
vprint_msg_to_log
(
enum
loglevel
level
__attribute__
((
unused
)),
const
char
*
format
,
va_list
argsi
)
...
...
mysql-test/r/query_cache_debug.result
View file @
4fbe0d14
flush status;
set query_cache_type=DEMAND;
set global query_cache_size= 1024*
1024*512
;
set global query_cache_size= 1024*
768
;
drop table if exists t1;
create table t1 (a varchar(100));
insert into t1 values ('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'),('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb');
...
...
mysql-test/t/query_cache_debug.test
View file @
4fbe0d14
...
...
@@ -7,7 +7,7 @@
#
flush
status
;
set
query_cache_type
=
DEMAND
;
set
global
query_cache_size
=
1024
*
1024
*
512
;
set
global
query_cache_size
=
1024
*
768
;
--
disable_warnings
drop
table
if
exists
t1
;
--
enable_warnings
...
...
sql/Makefile.am
View file @
4fbe0d14
...
...
@@ -54,7 +54,7 @@ noinst_HEADERS = item.h item_func.h item_sum.h item_cmpfunc.h \
procedure.h sql_class.h sql_lex.h sql_list.h
\
sql_map.h sql_string.h unireg.h
\
sql_error.h field.h handler.h mysqld_suffix.h
\
sql_profile.h
\
sql_profile.h
\
ha_ndbcluster.h ha_ndbcluster_cond.h
\
ha_ndbcluster_binlog.h ha_ndbcluster_tables.h
\
ha_partition.h rpl_constants.h
\
...
...
@@ -178,6 +178,12 @@ lex_hash.h: gen_lex_hash.cc lex.h
udf_example_la_SOURCES
=
udf_example.c
udf_example_la_LDFLAGS
=
-module
-rpath
$(pkglibdir)
# We might have some stuff not built in this build, but that we want to install
install-exec-hook
:
$(mkinstalldirs)
$(DESTDIR)$(libexecdir)
$(DESTDIR)$(pkglibdir)
test
!
-x
mysqld-debug
$(EXEEXT)
||
$(INSTALL_PROGRAM)
mysqld-debug
$(EXEEXT)
$(DESTDIR)$(libexecdir)
test
!
-f
mysqld-debug.sym.gz
||
$(INSTALL_DATA)
mysqld-debug.sym.gz
$(DESTDIR)$(pkglibdir)
test
!
-f
mysqld.sym.gz
||
$(INSTALL_DATA)
mysqld.sym.gz
$(DESTDIR)$(pkglibdir)
# Don't update the files from bitkeeper
%
::
SCCS/s.%
sql/mysqld.cc
View file @
4fbe0d14
...
...
@@ -1948,6 +1948,7 @@ extern "C" sig_handler abort_thread(int sig __attribute__((unused)))
static
BOOL
WINAPI
console_event_handler
(
DWORD
type
)
{
DBUG_ENTER
(
"console_event_handler"
);
#ifndef EMBEDDED_LIBRARY
if
(
type
==
CTRL_C_EVENT
)
{
/*
...
...
@@ -1962,6 +1963,7 @@ static BOOL WINAPI console_event_handler( DWORD type )
sql_print_warning
(
"CTRL-C ignored during startup"
);
DBUG_RETURN
(
TRUE
);
}
#endif
DBUG_RETURN
(
FALSE
);
}
...
...
support-files/mysql.spec.sh
View file @
4fbe0d14
...
...
@@ -336,6 +336,8 @@ BuildMySQL "--enable-shared \
--with-innodb
\
%if %{CLUSTER_BUILD}
--with-ndbcluster
\
%else
--without-ndbcluster
\
%endif
--with-archive-storage-engine
\
--with-csv-storage-engine
\
...
...
@@ -343,6 +345,8 @@ BuildMySQL "--enable-shared \
--with-blackhole-storage-engine
\
%if %{FEDERATED_BUILD}
--with-federated-storage-engine
\
%else
--without-federated-storage-engine
\
%endif
--with-partition
\
--with-big-tables
\
...
...
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