diff options
author | unknown <andrey@example.com> | 2006-08-17 17:44:16 +0200 |
---|---|---|
committer | unknown <andrey@example.com> | 2006-08-17 17:44:16 +0200 |
commit | 5f0a5dc03787ea17125301cf9c989e515a7b0fa9 (patch) | |
tree | 04e7ff1419634c546a5cbd48f236605fa42ece36 /sql/event_scheduler.cc | |
parent | 99adbd131addffeb1dc95e4c5f156dc831cbd66c (diff) | |
download | mariadb-git-5f0a5dc03787ea17125301cf9c989e515a7b0fa9.tar.gz |
WL#3337 (Event scheduler new architecture)
Shift from direct usage of (char *) with STRING_WITH_LEN
to C_STRING_WITH_LEN
sql/event_db_repository.cc:
don't use direct casting but existing C_STRING_WITH_LEN macro
to shut up the compiler.
sql/event_scheduler.cc:
don't use direct casting but existing C_STRING_WITH_LEN macro
to shut up the compiler.
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r-- | sql/event_scheduler.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 6df3332e7fa..d4a5df85cda 100644 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -36,11 +36,11 @@ extern pthread_attr_t connection_attrib; static -LEX_STRING scheduler_states_names[] = +const LEX_STRING scheduler_states_names[] = { - { C_STRING_WITH_LEN("INITIALIZED")}, - { C_STRING_WITH_LEN("RUNNING")}, - { C_STRING_WITH_LEN("STOPPING")} + { C_STRING_WITH_LEN("INITIALIZED") }, + { C_STRING_WITH_LEN("RUNNING") }, + { C_STRING_WITH_LEN("STOPPING") } }; struct scheduler_param { |