Commit 2347c18c authored by Monty's avatar Monty

Renamed maria_* source files for executables to aria_*

parent c52e62a7
...@@ -55,20 +55,20 @@ MYSQL_ADD_PLUGIN(aria ${ARIA_SOURCES} STORAGE_ENGINE MANDATORY ...@@ -55,20 +55,20 @@ MYSQL_ADD_PLUGIN(aria ${ARIA_SOURCES} STORAGE_ENGINE MANDATORY
LINK_LIBRARIES myisam mysys mysys_ssl LINK_LIBRARIES myisam mysys mysys_ssl
RECOMPILE_FOR_EMBEDDED) RECOMPILE_FOR_EMBEDDED)
MYSQL_ADD_EXECUTABLE(aria_ftdump maria_ftdump.c COMPONENT Server) MYSQL_ADD_EXECUTABLE(aria_ftdump aria_ftdump.c COMPONENT Server)
TARGET_LINK_LIBRARIES(aria_ftdump aria) TARGET_LINK_LIBRARIES(aria_ftdump aria)
MYSQL_ADD_EXECUTABLE(aria_chk maria_chk.c COMPONENT Server) MYSQL_ADD_EXECUTABLE(aria_chk aria_chk.c COMPONENT Server)
TARGET_LINK_LIBRARIES(aria_chk aria) TARGET_LINK_LIBRARIES(aria_chk aria)
MYSQL_ADD_EXECUTABLE(aria_read_log maria_read_log.c COMPONENT Server) MYSQL_ADD_EXECUTABLE(aria_read_log aria_read_log.c COMPONENT Server)
TARGET_LINK_LIBRARIES(aria_read_log aria) TARGET_LINK_LIBRARIES(aria_read_log aria)
MYSQL_ADD_EXECUTABLE(aria_dump_log maria_dump_log.c unittest/ma_loghandler_examples.c COMPONENT Server) MYSQL_ADD_EXECUTABLE(aria_dump_log aria_dump_log.c unittest/ma_loghandler_examples.c COMPONENT Server)
TARGET_LINK_LIBRARIES(aria_dump_log aria) TARGET_LINK_LIBRARIES(aria_dump_log aria)
SET_TARGET_PROPERTIES(aria_dump_log PROPERTIES COMPILE_FLAGS "-DMARIA_DUMP_LOG") SET_TARGET_PROPERTIES(aria_dump_log PROPERTIES COMPILE_FLAGS "-DMARIA_DUMP_LOG")
MYSQL_ADD_EXECUTABLE(aria_pack maria_pack.c COMPONENT Server) MYSQL_ADD_EXECUTABLE(aria_pack aria_pack.c COMPONENT Server)
TARGET_LINK_LIBRARIES(aria_pack aria) TARGET_LINK_LIBRARIES(aria_pack aria)
IF(WITH_UNIT_TESTS) IF(WITH_UNIT_TESTS)
......
...@@ -50,11 +50,11 @@ static MY_TMPDIR maria_chk_tmpdir; ...@@ -50,11 +50,11 @@ static MY_TMPDIR maria_chk_tmpdir;
static ulonglong get_lsn(const char *lsn_str) static ulonglong get_lsn(const char *lsn_str)
{ {
ulong file; ulong file;
ulonglong pos; ulong pos;
if (sscanf(lsn_str, " %lu,0x%Lx", &file, &pos) == 2) if (sscanf(lsn_str, " %lu,0x%lx", &file, &pos) == 2)
return MAKE_LSN(file, pos); return MAKE_LSN(file, pos);
if (sscanf(lsn_str, " %Lu", &pos) == 1) if (sscanf(lsn_str, " %lu", &pos) == 1)
return pos; return (ulonglong) pos;
return ~(ulonglong) 0; /* Error */ return ~(ulonglong) 0; /* Error */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment