bk commit - MyODBC 3.51 (1.476)

bk commit - MyODBC 3.51 (1.476)

am 02.06.2005 21:29:33 von bdegtyariov

Below is the list of changes that have just been commited into a local
MyODBC 3.51 repository of 'bdegtyariov'. When 'bdegtyariov' does a push, they will
be propogaged to the main repository and within 2 hours after the push
into the public repository.

For more information on how to access the public repository see:
http://www.mysql.com/products/myodbc/faq_2.html#Development_ source

You can also browse the changes from public repository:
Complete repository: http://mysql.bkbits.net:8080/myodbc3/
This changeset : http://mysql.bkbits.net:8080/myodbc3/cset@1.476

ChangeSet
1.476 05/06/02 21:29:25 bdegtyariov@mail.mysql.com +3 -0
utility.c:
Added FIELD_TYPE_NEWDECIMAL to unireg_to_sql_datatype() function; it is processed in the same way as FIELD_TYPE_DECIMAL
myodbc3.h:
Added new data type definition for the compatibility with MySQL 5

BitKeeper/etc/logging_ok
1.45 05/06/02 21:29:25 bdegtyariov@mail.mysql.com +1 -0
Logging to logging@openlogging.org accepted

driver/utility.c
1.50 05/06/02 21:23:56 bdegtyariov@mail.mysql.com +1 -0
Added FIELD_TYPE_NEWDECIMAL to unireg_to_sql_datatype() function; it is processed in the same way as FIELD_TYPE_DECIMAL

driver/myodbc3.h
1.45 05/06/02 21:10:26 bdegtyariov@mail.mysql.com +7 -0
Added new data type definition for the compatibility with MySQL 5

# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: bdegtyariov
# Host: mail.mysql.com
# Root: /users/bdegtyariov/myodbc-3.51

--- 1.44/BitKeeper/etc/logging_ok 2005-03-01 14:42:14 +01:00
+++ 1.45/BitKeeper/etc/logging_ok 2005-06-02 21:29:25 +02:00
@@ -1,5 +1,6 @@
Administrator@venu.
arjen@co3064164-a.bitbike.com
+bdegtyariov@mail.mysql.com
dean@mysql.com
dellis@niflheim.lan
eren@side.

--- 1.49/driver/utility.c 2005-04-29 06:03:52 +02:00
+++ 1.50/driver/utility.c 2005-06-02 21:23:56 +02:00
@@ -375,6 +375,7 @@
switch(field->type) {

case FIELD_TYPE_DECIMAL:
+ case FIELD_TYPE_NEWDECIMAL:
*display_size= max(field->length,field->max_length) -
test(!(field->flags & UNSIGNED_FLAG)) -
test(field->decimals);

--- 1.44/driver/myodbc3.h 2005-06-02 00:38:55 +02:00
+++ 1.45/driver/myodbc3.h 2005-06-02 21:10:26 +02:00
@@ -423,6 +423,13 @@
#define CONFIGDEFAULT 1002
#define EDRIVERCONNECT 1003

+/*
+ New data type definition. For the compatibility with MySQL 5
+*/
+#ifndef FIELD_TYPE_NEWDECIMAL
+#define FIELD_TYPE_NEWDECIMAL 246
+#endif
+
#include "myutil.h"

#endif /* __MYODBC3_H__ */

--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@m.gmane.org