1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Added to CONNECT the missing type TYPE_BIGINT (longlong).

This commit is contained in:
Olivier Bertrand
2013-01-23 22:45:25 +01:00
parent 5c8c4f4f8e
commit 6ec8f00ae3
7 changed files with 1223 additions and 38 deletions

View File

@@ -98,9 +98,12 @@ int MYSQLtoPLG(int mytype)
break;
case MYSQL_TYPE_LONG:
case MYSQL_TYPE_INT24:
case MYSQL_TYPE_ENUM: // ???
type = TYPE_INT;
break;
case MYSQL_TYPE_LONGLONG:
type = TYPE_BIGINT;
break;
case MYSQL_TYPE_DECIMAL:
#if !defined(ALPHA)
case MYSQL_TYPE_NEWDECIMAL: