summaryrefslogtreecommitdiff
path: root/sql/sql_acl.cc
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-08-24 16:47:59 -0400
committerunknown <cmiller@zippy.cornsilk.net>2006-08-24 16:47:59 -0400
commitbf5802c3890307cb6e144fefc1f7b14ca8fceb9f (patch)
treea9715b8af965ea6ba0c83499ee4b117013c70a3f /sql/sql_acl.cc
parent19d3b53a35f7688983ff64891b24c58e2a2c0772 (diff)
parent43dbfa66c5cf2c777af7c70eb121c4749e9a30aa (diff)
downloadmariadb-git-bf5802c3890307cb6e144fefc1f7b14ca8fceb9f.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.1
into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.1-new-maint mysql-test/r/csv.result: SCCS merged mysql-test/t/csv.test: SCCS merged storage/csv/ha_tina.cc: Using petr's merge. sql/sql_acl.cc: SCCS merged sql/sql_show.cc: SCCS merged
Diffstat (limited to 'sql/sql_acl.cc')
-rw-r--r--sql/sql_acl.cc126
1 files changed, 63 insertions, 63 deletions
diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc
index 1b2ab853ec7..28d9d61b4c8 100644
--- a/sql/sql_acl.cc
+++ b/sql/sql_acl.cc
@@ -36,114 +36,114 @@ time_t mysql_db_table_last_check= 0L;
TABLE_FIELD_W_TYPE mysql_db_table_fields[MYSQL_DB_FIELD_COUNT] = {
{
- {(char *) STRING_WITH_LEN("Host")},
- {(char *) STRING_WITH_LEN("char(60)")},
+ { C_STRING_WITH_LEN("Host") },
+ { C_STRING_WITH_LEN("char(60)") },
{NULL, 0}
},
{
- {(char *) STRING_WITH_LEN("Db")},
- {(char *) STRING_WITH_LEN("char(64)")},
+ { C_STRING_WITH_LEN("Db") },
+ { C_STRING_WITH_LEN("char(64)") },
{NULL, 0}
},
{
- {(char *) STRING_WITH_LEN("User")},
- {(char *) STRING_WITH_LEN("char(16)")},
+ { C_STRING_WITH_LEN("User") },
+ { C_STRING_WITH_LEN("char(16)") },
{NULL, 0}
},
{
- {(char *) STRING_WITH_LEN("Select_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Select_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Insert_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Insert_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Update_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Update_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Delete_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Delete_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Create_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Create_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Drop_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Drop_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Grant_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Grant_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("References_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("References_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Index_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Index_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Alter_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Alter_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Create_tmp_table_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Create_tmp_table_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Lock_tables_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Lock_tables_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Create_view_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Create_view_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Show_view_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Show_view_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Create_routine_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Create_routine_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Alter_routine_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Alter_routine_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Execute_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Execute_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Event_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Event_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
},
{
- {(char *) STRING_WITH_LEN("Trigger_priv")},
- {(char *) STRING_WITH_LEN("enum('N','Y')")},
- {(char *) STRING_WITH_LEN("utf8")}
+ { C_STRING_WITH_LEN("Trigger_priv") },
+ { C_STRING_WITH_LEN("enum('N','Y')") },
+ { C_STRING_WITH_LEN("utf8") }
}
};