Browse Source
After merge fixes. Applied changes made in myisam manually to maria.
After merge fixes. Applied changes made in myisam manually to maria.
storage/maria/ma_test1.c: After merge fixes. Applied changes made in myisam manually to maria. Fixed memory leak. storage/maria/ma_test2.c: After merge fixes. Applied changes made in myisam manually to maria. Fixed memory leak.pull/374/head
32 changed files with 510 additions and 375 deletions
-
8include/maria.h
-
8mysql-test/r/maria.result
-
65storage/maria/CMakeLists.txt
-
101storage/maria/ha_maria.cc
-
21storage/maria/ha_maria.h
-
13storage/maria/ma_check.c
-
5storage/maria/ma_create.c
-
12storage/maria/ma_delete.c
-
36storage/maria/ma_dynrec.c
-
45storage/maria/ma_extra.c
-
1storage/maria/ma_init.c
-
5storage/maria/ma_key.c
-
3storage/maria/ma_keycache.c
-
4storage/maria/ma_locking.c
-
21storage/maria/ma_open.c
-
8storage/maria/ma_packrec.c
-
5storage/maria/ma_page.c
-
3storage/maria/ma_pagecache.c
-
83storage/maria/ma_rkey.c
-
2storage/maria/ma_search.c
-
103storage/maria/ma_sort.c
-
73storage/maria/ma_sp_key.c
-
34storage/maria/ma_sp_test.c
-
34storage/maria/ma_statrec.c
-
74storage/maria/ma_test1.c
-
46storage/maria/ma_test2.c
-
20storage/maria/ma_test3.c
-
6storage/maria/ma_update.c
-
8storage/maria/ma_write.c
-
4storage/maria/maria_chk.c
-
28storage/maria/maria_def.h
-
6storage/maria/maria_pack.c
@ -1 +1,64 @@ |
|||
# empty for the moment; will fill it when we build under Windows |
|||
# Copyright (C) 2007 MySQL AB |
|||
# |
|||
# This program is free software; you can redistribute it and/or modify |
|||
# it under the terms of the GNU General Public License as published by |
|||
# the Free Software Foundation; version 2 of the License. |
|||
# |
|||
# This program is distributed in the hope that it will be useful, |
|||
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
# GNU General Public License for more details. |
|||
# |
|||
# You should have received a copy of the GNU General Public License |
|||
# along with this program; if not, write to the Free Software |
|||
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
|||
INCLUDE("${PROJECT_SOURCE_DIR}/win/mysql_manifest.cmake") |
|||
|
|||
SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") |
|||
SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -DSAFEMALLOC -DSAFE_MUTEX") |
|||
|
|||
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/zlib |
|||
${CMAKE_SOURCE_DIR}/sql |
|||
${CMAKE_SOURCE_DIR}/regex |
|||
${CMAKE_SOURCE_DIR}/extra/yassl/include) |
|||
SET(MARIA_SOURCES ft_maria.c ha_maria.cc lockman.c ma_bitmap.c ma_blockrec.c |
|||
ma_cache.c ma_changed.c ma_check.c ma_checkpoint.c ma_checksum.c |
|||
ma_close.c ma_commit.c ma_control_file.c ma_create.c ma_dbug.c |
|||
ma_delete.c ma_delete_all.c ma_delete_table.c ma_dynrec.c |
|||
ma_extra.c ma_ft_boolean_search.c ma_ft_eval.c ma_ft_nlq_search.c |
|||
ma_ft_parser.c ma_ft_stem.c ma_ft_test1.c ma_ft_update.c ma_info.c |
|||
ma_init.c ma_key.c ma_keycache.c ma_least_recently_dirtied.c |
|||
ma_locking.c ma_loghandler.c ma_open.c ma_packrec.c ma_page.c |
|||
ma_pagecache.c ma_pagecaches.c ma_panic.c ma_preload.c ma_range.c |
|||
ma_recovery.c ma_rename.c ma_rfirst.c ma_rkey.c ma_rlast.c |
|||
ma_rnext.c ma_rnext_same.c ma_rprev.c ma_rrnd.c ma_rsame.c |
|||
ma_rsamepos.c ma_rt_index.c ma_rt_key.c ma_rt_mbr.c ma_rt_split.c |
|||
ma_rt_test.c ma_scan.c ma_search.c ma_sort.c ma_sp_key.c |
|||
ma_sp_test.c ma_static.c ma_statrec.c |
|||
ma_unique.c ma_update.c ma_write.c tablockman.c trnman.c |
|||
ha_maria.h maria_def.h) |
|||
|
|||
IF(NOT SOURCE_SUBLIBS) |
|||
|
|||
ADD_LIBRARY(maria ${MARIA_SOURCES}) |
|||
|
|||
ADD_EXECUTABLE(maria_ftdump maria_ftdump.c) |
|||
TARGET_LINK_LIBRARIES(maria_ftdump maria myisam mysys debug dbug strings zlib wsock32) |
|||
|
|||
ADD_EXECUTABLE(maria_chk maria_chk.c) |
|||
TARGET_LINK_LIBRARIES(maria_chk maria myisam mysys debug dbug strings zlib wsock32) |
|||
|
|||
ADD_EXECUTABLE(maria_read_log maria_read_log.c) |
|||
TARGET_LINK_LIBRARIES(maria_read_log maria myisam mysys debug dbug strings zlib wsock32) |
|||
|
|||
ADD_EXECUTABLE(maria_pack maria_pack.c) |
|||
TARGET_LINK_LIBRARIES(maria_pack maria myisam mysys debug dbug strings zlib wsock32) |
|||
|
|||
IF(EMBED_MANIFESTS) |
|||
MYSQL_EMBED_MANIFEST("maria_ftdump" "asInvoker") |
|||
MYSQL_EMBED_MANIFEST("maria_chk" "asInvoker") |
|||
MYSQL_EMBED_MANIFEST("maria_read_log" "asInvoker") |
|||
MYSQL_EMBED_MANIFEST("maria_pack" "asInvoker") |
|||
ENDIF(EMBED_MANIFESTS) |
|||
|
|||
ENDIF(NOT SOURCE_SUBLIBS) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue