summaryrefslogtreecommitdiff
path: root/sql/event_scheduler.cc
diff options
context:
space:
mode:
authorandrey@example.com <>2006-08-17 17:44:16 +0200
committerandrey@example.com <>2006-08-17 17:44:16 +0200
commit1cb95931d1dbc1ec6946d12b9fba7d1760eb8dd9 (patch)
tree04e7ff1419634c546a5cbd48f236605fa42ece36 /sql/event_scheduler.cc
parent5d626c5c9a37af14c8e4d7f90e4832d142632502 (diff)
downloadmariadb-git-1cb95931d1dbc1ec6946d12b9fba7d1760eb8dd9.tar.gz
WL#3337 (Event scheduler new architecture)
Shift from direct usage of (char *) with STRING_WITH_LEN to C_STRING_WITH_LEN
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r--sql/event_scheduler.cc8
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 {