Skip to content

Commit 2347c18

Browse files
committed
Renamed maria_* source files for executables to aria_*
1 parent c52e62a commit 2347c18

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

storage/maria/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,20 @@ MYSQL_ADD_PLUGIN(aria ${ARIA_SOURCES} STORAGE_ENGINE MANDATORY
5555
LINK_LIBRARIES myisam mysys mysys_ssl
5656
RECOMPILE_FOR_EMBEDDED)
5757

58-
MYSQL_ADD_EXECUTABLE(aria_ftdump maria_ftdump.c COMPONENT Server)
58+
MYSQL_ADD_EXECUTABLE(aria_ftdump aria_ftdump.c COMPONENT Server)
5959
TARGET_LINK_LIBRARIES(aria_ftdump aria)
6060

61-
MYSQL_ADD_EXECUTABLE(aria_chk maria_chk.c COMPONENT Server)
61+
MYSQL_ADD_EXECUTABLE(aria_chk aria_chk.c COMPONENT Server)
6262
TARGET_LINK_LIBRARIES(aria_chk aria)
6363

64-
MYSQL_ADD_EXECUTABLE(aria_read_log maria_read_log.c COMPONENT Server)
64+
MYSQL_ADD_EXECUTABLE(aria_read_log aria_read_log.c COMPONENT Server)
6565
TARGET_LINK_LIBRARIES(aria_read_log aria)
6666

67-
MYSQL_ADD_EXECUTABLE(aria_dump_log maria_dump_log.c unittest/ma_loghandler_examples.c COMPONENT Server)
67+
MYSQL_ADD_EXECUTABLE(aria_dump_log aria_dump_log.c unittest/ma_loghandler_examples.c COMPONENT Server)
6868
TARGET_LINK_LIBRARIES(aria_dump_log aria)
6969
SET_TARGET_PROPERTIES(aria_dump_log PROPERTIES COMPILE_FLAGS "-DMARIA_DUMP_LOG")
7070

71-
MYSQL_ADD_EXECUTABLE(aria_pack maria_pack.c COMPONENT Server)
71+
MYSQL_ADD_EXECUTABLE(aria_pack aria_pack.c COMPONENT Server)
7272
TARGET_LINK_LIBRARIES(aria_pack aria)
7373

7474
IF(WITH_UNIT_TESTS)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

storage/maria/maria_read_log.c renamed to storage/maria/aria_read_log.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ static MY_TMPDIR maria_chk_tmpdir;
5050
static ulonglong get_lsn(const char *lsn_str)
5151
{
5252
ulong file;
53-
ulonglong pos;
54-
if (sscanf(lsn_str, " %lu,0x%Lx", &file, &pos) == 2)
53+
ulong pos;
54+
if (sscanf(lsn_str, " %lu,0x%lx", &file, &pos) == 2)
5555
return MAKE_LSN(file, pos);
56-
if (sscanf(lsn_str, " %Lu", &pos) == 1)
57-
return pos;
56+
if (sscanf(lsn_str, " %lu", &pos) == 1)
57+
return (ulonglong) pos;
5858
return ~(ulonglong) 0; /* Error */
5959
}
6060

0 commit comments

Comments
 (0)