#At bzr+ssh://ahristov@stripped/bzrroot/public/connector-cpp-bzr/trunk/
201 andrey.hristov@stripped 2008-11-05
change comment
modified:
driver/mysql_metadata.cpp
=== modified file 'driver/mysql_metadata.cpp'
--- a/driver/mysql_metadata.cpp 2008-11-04 16:58:11 +0000
+++ b/driver/mysql_metadata.cpp 2008-11-05 10:10:28 +0000
@@ -69,7 +69,7 @@ TypeInfoDef mysqlc_types[] = {
// ------------- MySQL-Type: BIT. DBC-Type: Bit -------------
{
"BIT", // Typename
- DataType::BIT, // sdbc-type
+ DataType::BIT, // dbc-type
1, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -91,7 +91,7 @@ TypeInfoDef mysqlc_types[] = {
// ------------ MySQL-Type: BOOL. DBC-Type: Bit -------------
{
"BOOL", // Typename
- DataType::BIT, // sdbc-type
+ DataType::BIT, // dbc-type
1, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -113,7 +113,7 @@ TypeInfoDef mysqlc_types[] = {
// --------- MySQL-Type: TINYINT DBC-Type: TINYINT ----------
{
"TINYINT", // Typename
- DataType::TINYINT, // sdbc-type
+ DataType::TINYINT, // dbc-type
3, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -135,7 +135,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: BIGINT DBC-Type: BIGINT ----------
{
"BIGINT", // Typename
- DataType::BIGINT, // sdbc-type
+ DataType::BIGINT, // dbc-type
19, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -157,7 +157,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: LONG VARBINARY DBC-Type: LONGVARBINARY ----------
{
"LONG VARBINARY", // Typename
- DataType::LONGVARBINARY, // sdbc-type
+ DataType::LONGVARBINARY, // dbc-type
16777215, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -179,7 +179,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: MEDIUMBLOB DBC-Type: LONGVARBINARY ----------
{
"MEDIUMBLOB", // Typename
- DataType::LONGVARBINARY, // sdbc-type
+ DataType::LONGVARBINARY, // dbc-type
16777215, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -201,7 +201,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: LONGBLOB DBC-Type: LONGVARBINARY ----------
{
"LONGBLOB", // Typename
- DataType::LONGVARBINARY, // sdbc-type
+ DataType::LONGVARBINARY, // dbc-type
0xFFFFFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -223,7 +223,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: BLOB DBC-Type: LONGVARBINARY ----------
{
"BLOB", // Typename
- DataType::LONGVARBINARY, // sdbc-type
+ DataType::LONGVARBINARY, // dbc-type
0xFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -245,7 +245,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: TINYBLOB DBC-Type: LONGVARBINARY ----------
{
"TINYBLOB", // Typename
- DataType::LONGVARBINARY, // sdbc-type
+ DataType::LONGVARBINARY, // dbc-type
0xFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -267,7 +267,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: VARBINARY DBC-Type: VARBINARY ----------
{
"VARBINARY", // Typename
- DataType::VARBINARY, // sdbc-type
+ DataType::VARBINARY, // dbc-type
0xFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -289,7 +289,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: BINARY DBC-Type: BINARY ----------
{
"BINARY", // Typename
- DataType::BINARY, // sdbc-type
+ DataType::BINARY, // dbc-type
0xFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -311,7 +311,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: LONG VARCHAR DBC-Type: LONG VARCHAR ----------
{
"LONG VARCHAR", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFFFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -333,7 +333,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: MEDIUMTEXT DBC-Type: LONG VARCHAR ----------
{
"MEDIUMTEXT", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFFFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -355,7 +355,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: MEDIUMTEXT DBC-Type: LONG VARCHAR ----------
{
"MEDIUMTEXT", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFFFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -377,7 +377,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: LONGTEXT DBC-Type: LONG VARCHAR ----------
{
"LONGTEXT", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFFFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -399,7 +399,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: TEXT DBC-Type: LONG VARCHAR ----------
{
"TEXT", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -421,7 +421,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: TINYTEXT DBC-Type: LONG VARCHAR ----------
{
"TINYTEXT", // Typename
- DataType::LONGVARCHAR, // sdbc-type
+ DataType::LONGVARCHAR, // dbc-type
0xFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -443,7 +443,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: CHAR DBC-Type: CHAR ----------
{
"CHAR", // Typename
- DataType::CHAR, // sdbc-type
+ DataType::CHAR, // dbc-type
0xFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -465,7 +465,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: DECIMAL DBC-Type: DECIMAL ----------
{
"DECIMAL", // Typename
- DataType::NUMERIC, // sdbc-type
+ DataType::NUMERIC, // dbc-type
17, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -487,7 +487,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: NUMERIC DBC-Type: NUMERIC ----------
{
"NUMERIC", // Typename
- DataType::NUMERIC, // sdbc-type
+ DataType::NUMERIC, // dbc-type
17, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -509,7 +509,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: INTEGER DBC-Type: INTEGER ----------
{
"INTEGER", // Typename
- DataType::NUMERIC, // sdbc-type
+ DataType::NUMERIC, // dbc-type
10, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -531,7 +531,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: INT DBC-Type: INTEGER ----------
{
"INT", // Typename
- DataType::INTEGER, // sdbc-type
+ DataType::INTEGER, // dbc-type
10, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -553,7 +553,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: MEDIUMINT DBC-Type: INTEGER ----------
{
"MEDIUMINT", // Typename
- DataType::INTEGER, // sdbc-type
+ DataType::INTEGER, // dbc-type
7, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -575,7 +575,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: SMALLINT DBC-Type: INTEGER ----------
{
"SMALLINT", // Typename
- DataType::INTEGER, // sdbc-type
+ DataType::INTEGER, // dbc-type
5, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -597,7 +597,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: FLOAT DBC-Type: REAL ----------
{
"FLOAT", // Typename
- DataType::REAL, // sdbc-type
+ DataType::REAL, // dbc-type
10, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -619,7 +619,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: DOUBLE DBC-Type: DOUBLE ----------
{
"DOUBLE", // Typename
- DataType::DOUBLE, // sdbc-type
+ DataType::DOUBLE, // dbc-type
17, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -641,7 +641,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: DOUBLE PRECISION DBC-Type: DOUBLE ----------
{
"DOUBLE PRECISION", // Typename
- DataType::DOUBLE, // sdbc-type
+ DataType::DOUBLE, // dbc-type
17, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -663,7 +663,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: REAL DBC-Type: DOUBLE ----------
{
"REAL", // Typename
- DataType::DOUBLE, // sdbc-type
+ DataType::DOUBLE, // dbc-type
17, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -685,7 +685,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: VARCHAR DBC-Type: VARCHAR ----------
{
"VARCHAR", // Typename
- DataType::VARCHAR, // sdbc-type
+ DataType::VARCHAR, // dbc-type
255, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -707,7 +707,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: ENUM DBC-Type: VARCHAR ----------
{
"ENUM", // Typename
- DataType::VARCHAR, // sdbc-type
+ DataType::VARCHAR, // dbc-type
0xFFFF, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -729,7 +729,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: SET DBC-Type: VARCHAR ----------
{
"SET", // Typename
- DataType::VARCHAR, // sdbc-type
+ DataType::VARCHAR, // dbc-type
64, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -751,7 +751,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: DATE DBC-Type: DATE ----------
{
"DATE", // Typename
- DataType::DATE, // sdbc-type
+ DataType::DATE, // dbc-type
0, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -773,7 +773,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: TIME DBC-Type: TIME ----------
{
"TIME", // Typename
- DataType::TIME, // sdbc-type
+ DataType::TIME, // dbc-type
0, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -795,7 +795,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: DATETIME DBC-Type: TIMESTAMP ----------
{
"DATETIME", // Typename
- DataType::TIMESTAMP, // sdbc-type
+ DataType::TIMESTAMP, // dbc-type
0, // Precision
"", // Literal prefix
"", // Literal suffix
@@ -817,7 +817,7 @@ TypeInfoDef mysqlc_types[] = {
// ----------- MySQL-Type: TIMESTAMP DBC-Type: TIMESTAMP ----------
{
"TIMESTAMP", // Typename
- DataType::TIMESTAMP, // sdbc-type
+ DataType::TIMESTAMP, // dbc-type
0, // Precision
"", // Literal prefix
"", // Literal suffix
| Thread |
|---|
| • bzr commit into connector-cpp-bzr branch (andrey.hristov:201) | andrey.hristov | 5 Nov |