[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mysql-odbc
Subject:    bk commit - MyODBC 3.51
From:       venu () mysql ! com
Date:       2002-10-11 11:49:30
[Download RAW message or body]

Below is the list of changes that have just been commited into a local
MyODBC 3.51 repository of 'venu'. When 'venu' does a push, they will
be propogaged to the main repository and within 24 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.html#Development_source

ChangeSet
  1.221 02/10/11 00:58:46 venu@myvenu.com +3 -0
  Fix from openOffice and minor configure fixups.
  Fixed SQLSpecialColumns coredump on HP - threaded call.
  SQLTablePrivileges and SQLColumnPrivileges cleanups to return
previleges in individual rows.
  Cleanups SQLTables to return all tables from diffent databases

  info.c
    1.39 02/10/11 00:58:41 venu@myvenu.com +1 -1
    .

  configure.in
    1.13 02/10/11 00:58:41 venu@myvenu.com +63 -33
    .

  acinclude.m4
    1.3 02/10/11 00:58:41 venu@myvenu.com +7 -2
    .

# 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:	venu
# Host:	myvenu.com
# Root:	/home/venu/work/odbc/dev-3.51

--- 1.2/acinclude.m4	Tue Oct 23 21:24:44 2001
+++ 1.3/acinclude.m4	Fri Oct 11 00:58:41 2002
@@ -48,7 +48,7 @@

 if test "x$iodbc_ok" != "xyes"
 then
-	AC_MSG_ERROR([Unable to find the iodbc headers in $1])
+	AC_MSG_ERROR([Unable to find the iodbc headers in '$1'])
 fi
 
 AC_CHECK_HEADERS(iodbcinst.h)
@@ -59,6 +59,11 @@
 	save_LIBS="$LIBS"
 	LIBS="-L$2 $LIBS"
 
+	AC_CHECK_LIB(iodbcadm,_iodbcdm_admin_dialbox,
+	[LIBS="$LIBS -liodbcadm"
+	have_iodbcadm=yes],
+	[LIBS="$save_LIBS"])
+
 	AC_CHECK_LIB(iodbcinst,SQLGetPrivateProfileString,
 	[AC_DEFINE(HAVE_SQLGETPRIVATEPROFILESTRING)
 	LIBS="$LIBS -liodbcinst"
@@ -81,7 +86,7 @@
 
 if test "x$unixODBC_ok" != "xyes"
 then
-	AC_MSG_ERROR([Unable to find the unixODBC headers in $1])
+	AC_MSG_ERROR([Unable to find the unixODBC headers in '$1'])
 fi
 
 save_LIBS="$LIBS"

--- 1.12/configure.in	Sun Sep 29 09:03:48 2002
+++ 1.13/configure.in	Fri Oct 11 00:58:41 2002
@@ -68,10 +68,20 @@
 
 ###################################################################
 #                                                                 #
+# Check if localtime_r exists in libc or not                      #
+#                                                                 #
+###################################################################
+
+AC_CHECK_LIB(c, localtime_r, [AC_DEFINE(HAVE_LOCALTIME_R, 1)])
+
+
+###################################################################
+#                                                                 #
 # Check if we want to link with thread safe client libraries      #
 #                                                                 #
 ###################################################################
 
+echo "MySQL CONFIGURATION - CLIENT LIBS AND HEADERS"
 MYSQL_CLIENT_LIB=mysqlclient
 thread_safe=no
 
@@ -85,18 +95,6 @@
   esac
 ],[thread_safe=no])
 
-
-if test "x$thread_safe" = "xyes"
-then
-  MYSQL_CLIENT_LIB=mysqlclient_r;
-  AC_MSG_CHECKING([for the mysql thread safe client
libraries(libmysqlclient_r)]) -else
-  AC_MSG_CHECKING([for the mysql client libraries(libmysqlclient)]) -fi
-
-AC_SUBST(MYSQL_CLIENT_LIB)
-
-  ###################################################################
 #                                                                 #
 # Check for the client libraries                                  #
@@ -111,8 +109,16 @@
 alt_lib1="/usr/local/mysql/lib/mysql"
 alt_lib2="/usr/lib/mysql"
 
-AC_MSG_RESULT([$mysql_libs])
 
+if test "x$thread_safe" = "xyes"
+then
+  echo "using thread safe client libraries from '$mysql_libs'"
+  MYSQL_CLIENT_LIB=mysqlclient_r;
+else
+  echo "using thread safe client libraries from '$mysql_libs'"
+fi
+
+AC_SUBST(MYSQL_CLIENT_LIB)
 mysql_ok=no
 
 if test -n "$mysql_libs"
@@ -147,7 +153,12 @@
 
 if test "x$mysql_ok" != "xyes"
 then
-	AC_MSG_ERROR([Could not find lib$MYSQL_CLIENT_LIB in '$alt_lib1'
or '$alt_lib2'. Try another location.])
+  libsdir="'$alt_lib1' or '$alt_lib2'"
+  if test -n "$mysql_libs"
+  then  
+    libsdir="'$mysql_libs' or $libsdir"
+  fi    
+	AC_MSG_ERROR([Could not find lib$MYSQL_CLIENT_LIB from $libsdir.
Try 
+another location.])
 fi
 
 ###################################################################
@@ -190,6 +201,8 @@
     AC_SUBST(MYSQL_INCLUDES)
 fi
 
+echo "END OF MYSQL CONFIGURATION"
+echo "ODBC DRIVER MANAGER CONFIGURATION - LIBRARIES AND HEADERS"
 ###################################################################
 #                                                                 #
 # Check if we want to include unixODBC header files               #
@@ -210,6 +223,9 @@
 	unixODBC="/usr";
 fi
 
+  echo "using unixODBC... yes"
+  echo "using iodbc... no"
+
 AC_ARG_WITH(unixODBC-includes,
 [  --with-unixODBC-includes=DIR Find unixODBC headers in DIR],
 unixODBC_includes="$withval",unixODBC_includes="$unixODBC/include")
@@ -227,6 +243,8 @@
 # Check if we want to include iODBC header files                  #
 #                                                                 #
 ###################################################################
+  echo "using unixODBC... no"
+  echo "using iodbc... yes"
 
 AC_ARG_WITH(iodbc,
 [  --with-iodbc[=DIR]      Use iODBC located in DIR],
@@ -265,14 +283,6 @@
 AC_SUBST(EXTRA_LDFLAGS)
 
 ###################################################################
-#                                                                 #
-# Check if localtime_r exists in libc or not                      #
-#                                                                 #
-###################################################################
-
-AC_CHECK_LIB(c, localtime_r, [AC_DEFINE(HAVE_LOCALTIME_R, 1)])
- -###################################################################
 # if we're working in an older odbc environment,                  #
 # we don't have the SQL* types, so we need to fall                #
 # back to the old versions                                        #
@@ -296,17 +306,6 @@
 
 ###################################################################
 #                                                                 #
-# Generate Makefiles                                              #
-#                                                                 #
-###################################################################
-
-AC_OUTPUT([
-  Makefile 
-  samples/Makefile
-])
- -###################################################################
-#                                                                 #
 # Check and validate for odbc.ini                                 #
 #                                                                 #
 ###################################################################
@@ -328,4 +327,35 @@
 ----------------------------------------------------------------
 EOF
 fi
+
+echo "END OF DRIVER MANAGER CONFIGURATION"
+echo
+
+###################################################################
+#                                                                 #
+# Generate Makefiles                                              #
+#                                                                 #
+###################################################################
+
+AC_OUTPUT([
+  Makefile
+  samples/Makefile
+])
+
+echo "Sucess!!"
+echo
+echo "MySQL has a Web site at http://www.mysql.com/ which carries 
+details"
+echo "on the latest release, upcoming features, and other information
to "
+echo "make your work or play with MySQL more productive. There you can
" 
+echo "also find information about mailing lists for MySQL discussion.
"
+echo
+echo "Remember to check the MyODBC FAQ for detailed installation and
"
+echo "setup instructions as well as for various errors from:
"
+echo "http://www.mysql.com/products/myodbc/faq_toc.html
"
+echo
+echo "MyODBC Home page:"
+echo "http://www.mysql.com/products/myodbc/"
+echo
+echo "Thank you for choosing MySQL Product!"
+echo
 

--- 1.38/info.c	Sun Sep 29 09:03:52 2002
+++ 1.39/info.c	Fri Oct 11 00:58:41 2002
@@ -811,7 +811,7 @@
     break;
 
   case SQL_USER_NAME:
-
MYINFO_SET_STR_L(rgbInfoValue,cbInfoValueMax,pcbInfoValue,"user",4);
+    MYINFO_SET_STR(rgbInfoValue,cbInfoValueMax,pcbInfoValue,dbc->user);
     break;
 
   case SQL_XOPEN_CLI_YEAR:



---------------------------------------------------------------------
Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
posting. To request this thread, e-mail myodbc-thread6209@lists.mysql.com

To unsubscribe, send a message to the address shown in the
List-Unsubscribe header of this message. If you cannot see it,
e-mail myodbc-unsubscribe@lists.mysql.com instead.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic