summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-07-16 23:03:17 +0300
committerAndrei Karas <akaras@inbox.ru>2018-07-19 21:53:40 +0300
commit9b6d8636d496f2002e95103af5d53126bba63af9 (patch)
tree3c885a60bb8935139f81a55e36b4bfd0f34d4994
parent0bafc4b2f9d9cd01596f28862e6c105af666ec30 (diff)
downloadhercules-9b6d8636d496f2002e95103af5d53126bba63af9.tar.gz
hercules-9b6d8636d496f2002e95103af5d53126bba63af9.tar.bz2
hercules-9b6d8636d496f2002e95103af5d53126bba63af9.tar.xz
hercules-9b6d8636d496f2002e95103af5d53126bba63af9.zip
Update db2sql plugin with support for 32 bit item id.
-rw-r--r--src/plugins/db2sql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c
index feb27f834..57e68432e 100644
--- a/src/plugins/db2sql.c
+++ b/src/plugins/db2sql.c
@@ -449,7 +449,7 @@ void itemdb2sql_tableheader(void)
"\n"
"DROP TABLE IF EXISTS `%s`;\n"
"CREATE TABLE `%s` (\n"
- " `id` smallint(5) UNSIGNED NOT NULL DEFAULT '0',\n"
+ " `id` int(11) UNSIGNED NOT NULL DEFAULT '0',\n"
" `name_english` varchar(50) NOT NULL DEFAULT '',\n"
" `name_japanese` varchar(50) NOT NULL DEFAULT '',\n"
" `type` tinyint(2) UNSIGNED NOT NULL DEFAULT '0',\n"