Mailinglist Archive: opensuse-commit (1028 mails)

< Previous Next >
commit MyODBC-unixODBC
  • From: root@xxxxxxx (h_root)
  • Date: Wed, 14 Jun 2006 12:59:37 +0200 (CEST)
  • Message-id: <20060614105937.C20A831D12@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package MyODBC-unixODBC
checked in at Wed Jun 14 12:59:37 CEST 2006.

--------
--- MyODBC-unixODBC/MyODBC-unixODBC.changes 2006-01-25 21:33:49.000000000 +0100
+++ MyODBC-unixODBC/MyODBC-unixODBC.changes 2006-06-12 16:04:41.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Jun 12 14:44:43 CEST 2006 - mmarek@xxxxxxx
+
+- use "C", not "English" in setlocale() calls
+ [http://www.openoffice.org/issues/show_bug.cgi?id=66283]
+ (setlocale.patch)
+
+-------------------------------------------------------------------

New:
----
MyODBC-3.51.12-setlocale.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ MyODBC-unixODBC.spec ++++++
--- /var/tmp/diff_new_pack.CJP6Ql/_old 2006-06-14 12:39:20.000000000 +0200
+++ /var/tmp/diff_new_pack.CJP6Ql/_new 2006-06-14 12:39:20.000000000 +0200
@@ -5,7 +5,7 @@
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
-# Please submit bugfixes or comments via http://bugs.opensuse.org
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
@@ -17,7 +17,7 @@
Group: Productivity/Databases/Tools
Autoreqprov: on
Version: 3.51.12
-Release: 1
+Release: 13
Summary: ODBC Interface for Communication with MySQL Compiled with UnixODBC
URL: http://www.mysql.com/products/myodbc/index.html
Obsoletes: MyODBC-libiodbc
@@ -28,11 +28,12 @@
Source3: README
Patch: MyODBC-%{version}.diff
Patch1: MyODBC-%{version}-stringh.diff
+Patch2: MyODBC-%{version}-setlocale.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
MyODBC is an interface for communication with MySQL. It is one of the
-most popular ODBC drivers in the Open Source market, used by many users
+most popular ODBC drivers in the open source market, used by many users
to access the MySQL functionality. It is compiled with unixODBC.


@@ -46,6 +47,7 @@
%setup -q -n mysql-connector-odbc-%{version}
%patch
%patch1
+%patch2

%build
autoreconf --force --install
@@ -85,6 +87,10 @@
%{_libdir}/%{manager}/*

%changelog -n MyODBC-unixODBC
+* Mon Jun 12 2006 - mmarek@xxxxxxx
+- use "C", not "English" in setlocale() calls
+ [http://www.openoffice.org/issues/show_bug.cgi?id=66283]
+ (setlocale.patch)
* Wed Jan 25 2006 - mls@xxxxxxx
- converted neededforbuild to BuildRequires
* Thu Jan 05 2006 - mmarek@xxxxxxx

++++++ MyODBC-3.51.12-setlocale.patch ++++++
--- driver/execute.c
+++ driver/execute.c
@@ -226,7 +226,8 @@
net= &stmt->dbc->mysql.net;
to= (char*) net->buff;
if ( !(stmt->dbc->flag & FLAG_NO_LOCALE) )
- setlocale(LC_NUMERIC,"English"); /* force use of '.' as decimal point */
+ setlocale(LC_NUMERIC,"C"); /* force use of '.' as decimal point */
+
for ( i= 0; i < stmt->param_count; i++ )
{
PARAM_BIND *param= dynamic_element(&stmt->params,i,PARAM_BIND*);
--- driver/results.c
+++ driver/results.c
@@ -771,7 +771,7 @@
"NULL")));
#endif
if ( !(stmt->dbc->flag & FLAG_NO_LOCALE) )
- setlocale(LC_NUMERIC,"English");
+ setlocale(LC_NUMERIC,"C");
result= sql_get_data( stmt,
(SQLSMALLINT) (fCType == SQL_C_DEFAULT ? stmt->odbc_types[icol] : fCType),
stmt->result->fields+icol,
@@ -1205,7 +1205,7 @@
}

if ( !(stmt->dbc->flag & FLAG_NO_LOCALE) )
- setlocale(LC_NUMERIC,"English");
+ setlocale(LC_NUMERIC,"C");
res= SQL_SUCCESS;
for ( i= 0 ; i < rows_to_fetch ; i++ )
{




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...


---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit-unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit-help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages