Julian Smart
2e4dc1ddb1
Fixed buffer overflow (Sebastian Gottschalk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 14:14:57 +00:00
Vadim Zeitlin
418f27dbeb
blind fix to let wxDB compile in debug without threads
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-14 19:02:28 +00:00
Vadim Zeitlin
0138e546f4
include wx/thread.h in debug build which is needed after last change [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 14:58:45 +00:00
Vadim Zeitlin
e62a53c7f6
use critical section to protect global TablesInUse (patch 1660652) [backport from HEAD]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 21:29:30 +00:00
Vadim Zeitlin
0ae9003c21
fill in sqlDataType field of wxDbColInf in ExecSql() (patch 1614539)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-24 12:14:31 +00:00
Vadim Zeitlin
d57d491b9f
fix some gcc warnings due to SQLINTEGER not being long under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-13 14:45:44 +00:00
Vadim Zeitlin
9eb11d19b1
escape special SQL chars in where clauses (patch 1204728)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 21:49:37 +00:00
Vadim Zeitlin
cd7e925abb
fixed crash in wxDb::Open() in Unicode build due to wrong interpretation of BufferLength argument of SQLDriverConnect()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 10:42:55 +00:00
Vadim Zeitlin
27b3bd6a59
fix Open(wxDbConnectInf) when using connection string (patch 1494705)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 23:09:15 +00:00
Vadim Zeitlin
d595fb29c9
fix gcc warnings about in printf format (partly modified patch 1500717)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-25 23:47:50 +00:00
Włodzimierz Skiba
670f993563
Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
8ecff18117
Include wx/list.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-20 07:31:44 +00:00
Włodzimierz Skiba
8e3f3880bc
Include wx/object.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 10:02:20 +00:00
Julian Smart
7eeba5114c
Applied patch [ 1304191 ] support for MEMO fields
...
Francesco Montorsi
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-18 13:15:04 +00:00
Julian Smart
fc6f2a33b6
Applied patch [ 1405547 ] wxDbConnectInf + unicode = massive buffer overflows
...
Ove Kaaven
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-17 16:51:40 +00:00
George Tasker
ae2807c2e6
DB2 databases were mistakenly reporting that they were dBase databases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 00:37:05 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Julian Smart
e716b9bee1
Applied patch [ 1286701 ] fix for compiling odbc with MS VC8 on x64
...
also define SQLTCHAR for DMC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-16 11:03:53 +00:00
Vadim Zeitlin
f8be01b1ac
fixes for s.Printf(s) crashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 15:37:25 +00:00
Julian Smart
3103e8a97e
Typo correction patch [ 1208110 ] Lots of typo corrections
...
Olly Betts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Vadim Zeitlin
11bfe4bfdc
allow SQLDriverConnect() to open the dialog asking the user for additional info by passing it a (potentially) non NULL HWND (patch 1092583)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 22:57:15 +00:00
Julian Smart
c497d0b212
Applied patch [ 1183157 ] Compilation with GCC 4.0
...
by Michal Cihar. Also added typedef for SQLINTEGER in built-in
iODBC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:45:32 +00:00
Michael Wetherell
43e8916ff3
Documentation fixes, patch 1179223 by Andreas Mohr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
George Tasker
f6a9f9ad28
Added support (barely tested) for MaxDB from MySQL
...
Added dbmsFutureX to the database enumerations to allow for adding support for new databases between releases of wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:41:12 +00:00
Julian Smart
5054c9365a
Corrected compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 09:20:42 +00:00
Robert Roebling
e04507df82
Changed wxFopen() calls to use c_str
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 20:50:17 +00:00
George Tasker
3387ea2966
Buffer Overflow error corrected - SF patch #1110550
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 14:49:55 +00:00
George Tasker
69baadbbd1
Unicode build fixes for GTK not knowing what SQL_WCHAR and SQL_WVARCHAR are in non-unicode builds
...
Buffer overrun fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 14:38:05 +00:00
Włodzimierz Skiba
d8d267726a
Warning fixes, source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 21:19:39 +00:00
George Tasker
362a97bf56
Added more support for using SQL_WVARCHAR and SQL_WCHAR data types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 22:28:42 +00:00
George Tasker
b8126f938c
Compilation fix with last checkin....ooops
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:03:13 +00:00
George Tasker
7086c32ab8
Fixed some potential buffer overruns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 20:01:33 +00:00
George Tasker
5f72522e58
Implemented a fix to allow Unicode builds to work with MSACCESS. This fix should be tested against other databases also to ensure that the determination of the type to be used for character strings correctly finds that right type in unicode mode for other DBs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 19:22:37 +00:00
George Tasker
215a0070c1
Firebird DB support added. Basic testing is done, and appears to work fully. Need real users to test the additions please
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 00:33:09 +00:00
Włodzimierz Skiba
a6f4dbbd86
wxString and wxChar* access for file functions. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 17:44:50 +00:00
Włodzimierz Skiba
bb8a847812
Warning fixes, IsEmpty->empty.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-09 18:48:38 +00:00
George Tasker
c906510440
Unicode corrections in new SqlExec() overload
...
SQL_BIT and SQL_TIMESTAMP were not being correctly interpreted in ::GetColumns()
Source reformatting to match WX conventions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 12:21:09 +00:00
Ryan Norton
08429a81ca
fixup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:39:44 +00:00
Ryan Norton
f110f39530
[ 955006 ] wxDb query with column information (modded to overload instead of creating a new function)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-06 20:32:34 +00:00
George Tasker
e4e4557315
Unicode support
...
Several error conditions when connecting to databases are corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-04 21:31:12 +00:00
Jouk Jansen
fa06876d15
Committing in .
...
Patches to compile on OpenVMS
Modified Files:
wxWidgets/descrip.mms wxWidgets/src/common/db.cpp
wxWidgets/src/common/stream.cpp
Added Files:
wxWidgets/src/xml/descrip.mms wxWidgets/src/xrc/descrip.mms
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-02 07:13:19 +00:00
Julian Smart
815cb839b5
SQLINTEGER not defined in iodbc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 08:18:40 +00:00
Włodzimierz Skiba
1b941f2d31
Warning fixes for OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Włodzimierz Skiba
564c92d95b
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 16:12:58 +00:00
Jouk Jansen
6dfd822aca
Committing in .
...
Added some type casts to silence the compiler on OpenVMS
Modified Files:
wxWidgets/src/common/db.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 06:45:11 +00:00
Włodzimierz Skiba
68379eaf0a
Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-10 12:56:07 +00:00
Václav Slavík
7e559cd8f4
updated license info: Remstar gace permission to change it to wxWindows License with no strings attached
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-21 11:49:18 +00:00
Mattia Barbon
e3f8f04d8e
Compilation fixes for wxUSE_STL == 1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 13:10:16 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00