Below is the list of changes that have just been commited into a local
MyODBC 3.51 repository of 'pharvey'. When 'pharvey' 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 [at] 1.459
ChangeSet
1.459 05/02/11 19:00:38 peterh [at] mysql.com +5 -0
- wip - moving to thinkpad to complete
scripts/myodbc3.spec.sh
1.13 05/02/11 19:00:37 peterh [at] mysql.com +11 -7
- wip - moving to thinkpad to complete
myodbcinst/myodbcinst.c
1.35 05/02/11 19:00:37 peterh [at] mysql.com +1 -1
- wip - moving to thinkpad to complete
myodbc-3.51.vpj
1.7 05/02/11 19:00:37 peterh [at] mysql.com +3 -1
- wip - moving to thinkpad to complete
README.dist
1.5 05/02/11 19:00:37 peterh [at] mysql.com +1 -1
- wip - moving to thinkpad to complete
ChangeLog
1.31 05/02/11 19:00:37 peterh [at] mysql.com +1 -0
- wip - moving to thinkpad to complete
# 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: peterh
# Host: peter.peterharvey.org
# Root: /home/pharvey/SandBox/MySQL/myodbc-3.51
--- 1.30/ChangeLog Fri Feb 11 00:30:57 2005
+++ 1.31/ChangeLog Fri Feb 11 19:00:37 2005
[at] [at] -10,6 +10,7 [at] [at]
-- resources for last thread now freed
-- rolled back a fix for CR (force v3) as it messed up MS
Access (wants v2)
+-- tweeked RPM pre/post install scripts
---------------------------------------------
28-Jan-2005 (3.51.11): pharvey [at] mysql.com
--- 1.4/README.dist Mon Jan 31 21:14:13 2005
+++ 1.5/README.dist Fri Feb 11 19:00:37 2005
[at] [at] -22,7 +22,7 [at] [at]
- bk clone
- change current ver to new ver in source/config files
-- make -f Makefile.cvs
+- make -f Makefile.bk
- ./configure
- make dist
- cd scripts
--- 1.6/myodbc-3.51.vpj Fri Jan 28 11:33:51 2005
+++ 1.7/myodbc-3.51.vpj Fri Feb 11 19:00:37 2005
[at] [at] -213,6 +213,7 [at] [at]
<F N="scripts/make_win_src_distribution.sh"/>
<F N="scripts/makerpm.sh"/>
<F N="driver/myodbc3.h"/>
+ <F N="scripts/myodbc3.spec.sh"/>
<F N="driver/myutil.h"/>
<F N="win32/resource.h"/>
</Folder>
[at] [at] -245,12 +246,13 [at] [at]
Type="Makefile"/>
<F N="win32/Makefile.ini"/>
<F N="win32/Makefile_debug"/>
+ <F N="scripts/makerpm"/>
<F N="win32/myodbc3.def"/>
<F N="win32/myodbc3_portable_gui.def"/>
<F N="qmake.pro"/>
<F N="README"/>
<F N="README.dist"/>
- <F N="README.OSX"/>
+ <F N="README.osx"/>
<F N="README.unix"/>
<F N="README.win"/>
</Folder>
--- 1.34/myodbcinst/myodbcinst.c Mon Jan 31 21:14:13 2005
+++ 1.35/myodbcinst/myodbcinst.c Fri Feb 11 19:00:37 2005
[at] [at] -324,7 +324,7 [at] [at]
exit( 1 );
}
- return nReturn;
+ return !nReturn;
}
/*!
--- 1.12/scripts/myodbc3.spec.sh Fri Dec 17 15:49:51 2004
+++ 1.13/scripts/myodbc3.spec.sh Fri Feb 11 19:00:37 2005
[at] [at] -5,13 +5,13 [at] [at]
#
%define myodbc_version [at] VERSION [at]
-%define release 1
+# %define release 2
Name: MyODBC
Summary: An ODBC 3.51 driver for MySQL
Group: Applications/Databases
Version: %{myodbc_version}
-Release: 1
+Release: 2
Copyright: Public Domain, GPL
Source0: %{name}-%{version}.tar.gz
URL: http://www.mysql.com/
[at] [at] -26,7 +26,7 [at] [at]
# From the manual
%description
-MyODBC is a 32-bit ODBC (3.50) level 0 (with level 1 and level 2 features)
+MyODBC is an ODBC (3.50) level 0 (with level 1 and level 2 features)
driver for connecting an ODBC-aware application to MySQL. MyODBC works on
Windows 9x/Me/NT/2000/XP, and most Unix platforms (incl. OSX and Linux).
[at] [at] -61,17 +61,21 [at] [at]
make PREFIX=$RPM_BUILD_ROOT install
#
-# REGISTER DRIVER
+# REGISTER DRIVER (and create sample dsn)
#
%post
-myodbcinst -i
-myodbcinst -s -nmyodbc
+myodbcinst -a -d -t"MySQL ODBC 3.51 Driver;DRIVER=%{prefix}/lib/libmyodbc3.so;SETUP=%{prefix}/li b/libmyodbc3S.so"
+# Doing the following will cause the setup lib to get loaded and that will
+# cause problems in a GUI-less environment and when someone "su'd" to another
+# user (say; root) and that user has no access X server. Reimplement use of
+# unixODBC odbcinst command for this in future (or enhance myodbcinst).
+# myodbcinst -a -ss -t"DSN=MyDSN;DRIVER=MySQL ODBC 3.51 Driver;SERVER=localhost;UID=root"
#
# DEREGISTER DRIVER (orphan any related DSNs)
#
%preun
-myodbcinst -u
+myodbcinst -r -d -n"MySQL ODBC 3.51 Driver"
%files
%defattr(-,root,root)
--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
