diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-02-26 14:08:31 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-02-26 14:08:31 +0400 |
commit | 5bc80ff8903edc3e304c7b0a7440f7dfb84b1893 (patch) | |
tree | 5f2778ec9968b65a3ce00b266e03fcbe8c70751c /sql/sql_udf.cc | |
parent | 6d535030870ec158630a785d334ab4b710fdc523 (diff) | |
download | mariadb-git-5bc80ff8903edc3e304c7b0a7440f7dfb84b1893.tar.gz |
sql_udf.cc, protocol.cc:
Less default_charset_info
sql/protocol.cc:
Less default_charset_info
sql/sql_udf.cc:
Less default_charset_info
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r-- | sql/sql_udf.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc index 387c9970e34..450f1dd09ae 100644 --- a/sql/sql_udf.cc +++ b/sql/sql_udf.cc @@ -431,9 +431,9 @@ int mysql_create_function(THD *thd,udf_func *udf) goto err; restore_record(table,2); // Get default values for fields - table->field[0]->store(u_d->name.str, u_d->name.length, default_charset_info); + table->field[0]->store(u_d->name.str, u_d->name.length, system_charset_info); table->field[1]->store((longlong) u_d->returns); - table->field[2]->store(u_d->dl,(uint) strlen(u_d->dl), default_charset_info); + table->field[2]->store(u_d->dl,(uint) strlen(u_d->dl), system_charset_info); if (table->fields >= 4) // If not old func format table->field[3]->store((longlong) u_d->type); error = table->file->write_row(table->record[0]); |