diff options
author | kostja@bodhi.local <> | 2007-03-27 21:09:56 +0400 |
---|---|---|
committer | kostja@bodhi.local <> | 2007-03-27 21:09:56 +0400 |
commit | b42b41640067e07fe8d22e67897e4f1a000291c2 (patch) | |
tree | 6daa52a8ca86c0e36c1ccc12d201cfb452f71156 /sql/sp.cc | |
parent | e56c6d2f25592af24d1f222f822f5b9899221558 (diff) | |
download | mariadb-git-b42b41640067e07fe8d22e67897e4f1a000291c2.tar.gz |
Remove unnecessary casts to uchar. The casts are stemming from
the lexer API which internally uses unsigned char variables to
address its state map. The implementation of the lexer should be
internal to the lexer, and not influence the rest of the code.
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index c1a9aac0c24..d8dd9b3d67e 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -384,7 +384,7 @@ db_load_routine(THD *thd, int type, sp_name *name, sp_head **sphp, if ((ret= sp_use_new_db(thd, name->m_db, &old_db, 1, &dbchanged))) goto end; - lex_start(thd, (uchar*)defstr.c_ptr(), defstr.length()); + lex_start(thd, defstr.c_ptr(), defstr.length()); thd->spcont= 0; if (MYSQLparse(thd) || thd->is_fatal_error || newlex.sphead == NULL) |