Skip to content
Snippets Groups Projects
Commit 143703fc authored by Danny Auble's avatar Danny Auble
Browse files

jobcomp/mysql - Fix smallint to int for uid/gid

parent 05de12b7
No related branches found
No related tags found
No related merge requests found
...@@ -84,9 +84,9 @@ mysql_conn_t *jobcomp_mysql_conn = NULL; ...@@ -84,9 +84,9 @@ mysql_conn_t *jobcomp_mysql_conn = NULL;
char *jobcomp_table = "jobcomp_table"; char *jobcomp_table = "jobcomp_table";
storage_field_t jobcomp_table_fields[] = { storage_field_t jobcomp_table_fields[] = {
{ "jobid", "int not null" }, { "jobid", "int not null" },
{ "uid", "smallint unsigned not null" }, { "uid", "int unsigned not null" },
{ "user_name", "tinytext not null" }, { "user_name", "tinytext not null" },
{ "gid", "smallint unsigned not null" }, { "gid", "int unsigned not null" },
{ "group_name", "tinytext not null" }, { "group_name", "tinytext not null" },
{ "name", "tinytext not null" }, { "name", "tinytext not null" },
{ "state", "smallint not null" }, { "state", "smallint not null" },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment