Skip to content

Commit 3365bcc

Browse files
author
Jimmy Yang
committed
Platform specific changes
1 parent f81ed3c commit 3365bcc

7 files changed

Lines changed: 9 additions & 5 deletions

File tree

config.h.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@
531531
#cmakedefine ENABLE_MEMCACHED_SASL 1
532532
#cmakedefine ENABLE_MEMCACHED_SASL_PWDB 1
533533
#cmakedefine HAVE_SASL_SASL_H 1
534+
#cmakedefine HAVE_HTONLL 1
534535

535536
/*
536537
MySQL features

configure.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -503,6 +503,7 @@ CHECK_FUNCTION_EXISTS (valloc HAVE_VALLOC)
503503
CHECK_FUNCTION_EXISTS (memalign HAVE_MEMALIGN)
504504
CHECK_FUNCTION_EXISTS (chown HAVE_CHOWN)
505505
CHECK_FUNCTION_EXISTS (nl_langinfo HAVE_NL_LANGINFO)
506+
CHECK_FUNCTION_EXISTS (ntohll HAVE_HTONLL)
506507

507508
CHECK_FUNCTION_EXISTS (clock_gettime DNS_USE_CPU_CLOCK_FOR_ID)
508509
CHECK_FUNCTION_EXISTS (epoll_create HAVE_EPOLL)

libevent/min_heap.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#include "event.h"
3131
#include "evutil.h"
32+
#include "stdlib.h"
3233

3334
typedef struct min_heap
3435
{

mysql-test/suite/memcached/r/memcached_mdl_2.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ D Darmstadt City
4040
H Hamburg Norderstedt
4141
send ALTER TABLE t1 DROP c21
4242
ALTER TABLE t1 DROP c21;
43+
reap
4344
Here the memcached results with D,B,H,C:
4445
Here the memcached results after set:
4546
Here the memcached results after add:
@@ -49,7 +50,6 @@ Here the memcached results after add Frankfurt|:
4950
Here the memcached results after add |Airport:
5051
Here the memcached results after replace Frankfurt a.M.:
5152
Here the memcached results after replace Sachsenhausen:
52-
reap
5353
SHOW CREATE TABLE t1;
5454
Table Create Table
5555
t1 CREATE TABLE `t1` (

mysql-test/suite/memcached/t/memcached_mdl_2.test

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ connection mysqltest1;
6767
echo send ALTER TABLE t1 DROP c21;
6868
send ALTER TABLE t1 DROP c21;
6969

70+
echo reap;
71+
reap;
72+
7073
perl;
7174
use DBI;
7275
use Cache::Memcached;
@@ -171,8 +174,6 @@ if ($val) { print "$val\n"; }
171174
$memd->disconnect_all;
172175
EOF
173176

174-
echo reap;
175-
reap;
176177
SHOW CREATE TABLE t1;
177178
--sorted_result
178179
-- error 1054

plugin/innodb_memcached/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
IF(WITH_INNODB_MEMCACHED)
1616
ADD_SUBDIRECTORY(daemon_memcached)
1717
ADD_SUBDIRECTORY(innodb_memcache)
18-
19-
INSTALL(FILES ${CMAKE_SOURCE_DIR}/plugin/innodb_memcached/README-innodb_memcached DESTINATION ${INSTALL_DOCREADMEDIR} COMPONENT Readme)
2018
ENDIF()
19+
2120
INSTALL_SCRIPT("${CMAKE_SOURCE_DIR}/plugin/innodb_memcached/innodb_memcache/scripts/innodb_memcached_config.sql" DESTINATION ${INSTALL_SCRIPTDIR} COMPONENT Server)

support-files/mysql.spec.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,7 @@ echo "=====" >> $STATUS_HISTORY
10201020
%attr(755, root, root) %{_sbindir}/mysqld-debug
10211021
%attr(755, root, root) %{_sbindir}/rcmysql
10221022
%attr(755, root, root) %{_libdir}/mysql/plugin/daemon_example.ini
1023+
%attr(755, root, root) %{_bindir}/innodb_memcached_config.sql
10231024

10241025
%if %{WITH_TCMALLOC}
10251026
%attr(755, root, root) %{_libdir}/mysql/%{malloc_lib_target}

0 commit comments

Comments
 (0)