📄 changelog.svn-base
字号:
defined.
* src/datahandler.cc: Types::BIGINT is now fetched into
a 64bit integer if using ODBC3.
* src/dtconv.h: Fixed odbc::Long <-> string conversions
for win32.
1999-06-02 Manush Dodunekov <manush@litecom.net>
* src/preparedstatement.cc: Bind parameters before
execute, and unbind only when needed. This fixes
CallableStatement and out parameters.
* src/callablestatement.cc: Initialize PreparedStatement
with SQL_PARAM_INPUT_OUTPUT as default direction.
* src/preparedstatement.cc: Use SQL_PARAM_INPUT as
default direction.
* src/callablestatement.cc: Implemented getString().
* doc/progref/Makefile.am: Whoops, Doxyfile wasn't mentioned
as EXTRA_DIST.
* src/databasemetadata.cc (nullPlusNonNullIsNull): Whoops, fixed typo.
1999-06-01 Manush Dodunekov <manush@litecom.net>
* acinclude.m4: Remove -ldl when looking for odbc libraries.
* src/callablestatement.cc (registerOutParameter): Fixed to work
with new parameter handling code.
(CHECK_COL): Removed horrible bug.
1999-05-31 Manush Dodunekov <manush@litecom.net>
* src/databasemetadata.cc: Implemented supportsSchemasIn*() and
supportsCatalogsIn*().
* include/odbc++/setup.h (ODBCXX_EXPORT): define to __declspec(dllimport)
for win32 when IN_ODBCXX is undefined.
* isql++/isql++.cc (describeCmd): Ignore errors for
getPrimaryKeys and getImportedKeys.
* src/statement.cc: Pass NULL instead of empty string for catalog
and schema in catalog functions.
* include/odbc++/preparedstatement.h: setType() removed.
* src/preparedstatement.cc: Rewrote the parameter
handling code in order to work with good, dumb and
braindead drivers.
* src/rowset.cc: Removed
* src/datahandler.h: Inlined all Rowset methods.
* src/driverinfo.cc: Obtain a list of supported functions.
* src/preparedstatement.cc: Do not call SQLDescribeParam unless
the driver supports it. Default all parameters to VARCHAR instead.
* src/resultset.cc (isFirst): Call this->_applyPosition().
(isLast): Same here.
* src/databasemetadata.cc: Cleaned up a bit.
1999-05-30 Manush Dodunekov <manush@litecom.net>
* doc/progref/Makefile.am: Fixed install-data-local to work with
DESTDIR.
* src/statement.h: Removed ResultSetList since we can only have one
active ResultSet on a Statement anyway. Current ResultSet is now
stored in currentResultSet_.
include/odbc++/resultset.h no longer includes <set>.
* src/connection.cc: StatementList moved into struct PD.
include/odbc++/connection.h no longer includes <set>.
* src/driverinfo.h: New class DriverInfo, to hold driver-specific
information
* almost all classes: Implement this->_getDriverInfo() to be used
to determine driver-specific stuff at runtime
* include/odbc++/types.h: New macro ODBC3_DC - works the same
as ODBC3_C but looks at the ODBC version the current driver
supports.
* src/resultsetmetadata.cc: Use ODBC3_DC where needed.
1999-05-29 Manush Dodunekov <manush@litecom.net>
* include/odbc++/setup.h: Macro ODBC3_C moved to include/odbc++/types.h.
No point in defining it before we know our ODBCVER (bug).
* win32/Makefile.w32: Civilized. DLL can be build on win32.
1999-05-26 Manush Dodunekov <manush@litecom.net>
* src/statement.cc (~Statement): removed bug where a Statement
could be deleted twice if owned by a ResultSet.
* src/resultset.cc: Use the lowest 'fetch-my-results' call
possible, for example SQLFetch with ODBC2 and FetchSize=1.
Don't ask driver for row number if cursor is forward-only,
keep track of it instead.
1999-05-25 Manush Dodunekov <manush@litecom.net>
* Major cleanup. odbc::Byte, odbc::Int and odbc::Short are gone,
odbc++.h is split into classname.h in include/odbc++/.
1999-05-12 Manush Dodunekov <manush@litecom.net>
* src/drivermanager.cc (_checkInit): Use SQL_OV_ODBC3
* src/datahandler.cc: ODBC3-ized a bit; Using SQL_TYPE_*
and SQL_C_TYPE_* for datetime stuff if ODBC3 is around and so on.
1999-05-10 Manush Dodunekov <manush@litecom.net>
* src/resultset.cc: Simplified move-around routines
1999-05-09 Manush Dodunekov <manush@litecom.net>
* src/datahandler.cc: Use correct ODBC date/time escape
format, when for example using setDate on a CHAR/VARCHAR handler.
1999-05-03 Manush Dodunekov <manush@litecom.net>
* src/odbc++.h: Changed default rowset size to 1
* tests/oracle.cc: A more extensive scrolling test.
* tests/dbmetadata.cc: Actually show some useful information.
* src/connection.cc: Fixups for SQL_TXN_VERSIONING in ODBC2
* src/databasemetadata.cc: Fixups for SQL_TXN_VERSIONING in ODBC2
* src/scroll.cc: New simple test to test simple scrolling,
but not inserts/updates on ResultSets - for simpler database engines.
* tests/connect.cc: Gone. Obsolete.
* tests/select.cc: Gone. Obsolete.
* tests/prepared.cc: Gone. Obsolete. Stupid.
* src/resultset.cc (updateRow): Save the number of rows in the rowset
before doing an update.
(afterLast): Now even works.
* src/datahandler.cc (setDate): It's now possible to set a Timestamp
to a Date (which sets the remaining timestamp fields to 0).
* src/resultset.cc (_resetRowset): Fixed +/-1 bug causing strings to be
truncated.
* src/statement.cc (_beforeExecute): Revert to SQLFreeStmt(SQL_CLOSE)
instead of SQLCloseCursor even with ODBC3.
* src/resultset.cc (_doFetch): Added check for drivers that return
number of last row of the rowset with a forward-only cursor.
1999-05-02 Manush Dodunekov <manush@litecom.net>
* src/resultset.cc (ResultSet): Fixed typo that sent invalid pointer
to SQL_ATTR_ROWS_FETCHED_PTR (ODBC3 only).
(_applyFetchSize): Check if the driver changed the rowset size
after we set it.
* isql++/isql++.cc: Added variables trace and tracefile.
* configure.in: Added --with-odbc-version for use with for example
unixODBC which claims 0x0351 but does no ODBC3<->ODBC2 translation
* src/resultsetmetadata.cc: ODBC3-fied
1999-04-29 Manush Dodunekov <manush@litecom.net>
* src/resultset.cc: First attempts at using ODBC3 stuff.
* src/connection.cc: Actuall connect code moved to _connect()
here and removed from drivermanager.cc.
* src/connection.cc: Added ODBC3 #ifdefs to behave correctly with an
ODBC3 driver manager
* src/drivermanager.cc: Ditto.
* src/statement.cc: Ditto.
* src/drivermanager.cc: Lock while fetching datasources and drivers.
1999-04-28 Manush Dodunekov <manush@litecom.net>
* configure.in: removed obsolete checks for SQL* types.
* src/datahandler.cc: Implemented all handling of data here,
threw src/dh_*.cc and src/dhimpl.h away.
1999-04-26 Manush Dodunekov <manush@litecom.net>
* Prepared for win32 port, too much to list here.
* Cleaned up most datahandlers.
1999-04-25 Manush Dodunekov <manush@litecom.net>
* tests/mysql.cc: Check handlers TIME, DATE and TIMESTAMP too.
* src/preparedstatement.cc (CHECK_COL): Fixed typo that caused
parameter indexes not to be checked.
* src/datetime.cc: Implemented parse(const string& str)
method of Date,Time and Timestamp.
1999-04-24 Manush Dodunekov <manush@litecom.net>
* src/databasemetadata.cc: A whole bunch of methods implemented.
* src/odbc++thr.h, src/threads.cc: For now, a simple mutex wrapper to
use when ODBCXX_ENABLE_THREADS is defined.
* src/datetime.cc: Implemented Timestamp, Date and Time types.
* src/dh_date.cc: Implemented a data handler for the above types.
1999-04-23 Manush Dodunekov <manush@litecom.net>
* src/preparedstatement.cc: Removed Statement::executeQuery
overrides.
1999-04-17 Manush Dodunekov <manush@litecom.net>
* src/datastream.cc (underflow): Update the dataStatus_ so the
ResultSet can report NULLs right.
(DataStreamBuf): Call this->underflow() when constructed.
1999-03-31 Manush Dodunekov <manush@litecom.net>
* all: cleaned up some warnings
1999-03-31 Manush Dodunekov <manush@litecom.net>
* src/dh_longvar.cc (getString): actually return the result =)
* src/databasemetadata.cc (supportsResultSetType): Whoops. Bug fixed.
1999-03-31 Manush Dodunekov <manush@litecom.net>
* src/dtconv.h: Added #ifdefs for glibc-specific printf modifiers.
* src/odbc++types.h: Altered the Int/Long datatype detection a bit,
should probably work on most platforms.
* src/odbc++.h: Fixed typo if ODBCVER was >= 0x0300
1999-03-30 Manush Dodunekov <manush@litecom.net>
* configure.in: do not depend on GNU sed and bash in the
configuration.
1999-03-29 Manush Dodunekov <manush@litecom.net>
* src/dh_binary.cc: DH_Binary partially implemented, now
BINARY and VARBINARY columns have a handler.
* src/databasemetadata.cc (getTables): Delete statement if
SQLTables fails. Same in all others that return a ResultSet.
* isql++/isql++.cc (splitIdentifier): Check how datasource handles
identifier cases, and act accordingly.
* src/databasemetadata.cc (storesLowerCaseIdentifiers): Implemented,
as well as all it's friends.
* src/dh_string.cc (getInt): Whoops. A return statement was missing.
* src/resultset.cc (moveToInsertRow): Do not call SQLSetPos here, since
only SQL_ADD is allowed outside the rowset.
* src/resultset.cc (getXXX/updateXXX): Allow calling while on the
insert row, except for getXXXStream.
1999-03-28 Manush Dodunekov <manush@litecom.net>
* src/dh_string.cc (setString): Pad outgoing fixed length CHARs with spaces
1999-03-21 Manush Dodunekov <manush@litecom.net>
* src/statement.cc (_beforeExecute): call clearWarnings()
* src/drivermanager.cc (getDrivers): implemented
1999-03-16 Manush Dodunekov <manush@litecom.net>
* src/databasemetadata.cc (getIndexInfo): implemented
(getCatalogTerm): implemented
1999-03-15 Manush Dodunekov <manush@litecom.net>
* src/dh_double.cc: (DH_Double): Handler for REAL,FLOAT,DOUBLE
* src/odbc++.h: namespace ODBC -> namespace odbc
1999-03-14 Manush Dodunekov <manush@litecom.net>
* src/preparedstatement.cc (PreparedStatement): Implemented
* src/callablestatement.cc (CallableStatement): Implemented
1999-02-06 Manush Dodunekov <manush@litecom.net>
* all: More DatabaseMetaData stuff. The ResultSet constructor
now has a bool for whether it should take care of the executing
statement.
1999-02-02 Manush Dodunekov <manush@litecom.net>
* all: Lots of updates, now closer to JDBC behavior.
A small part of the DatabaseMetaData is now implemented with
a corresponding test in tests/.
1999-01-23 Manush Dodunekov <manush@litecom.net>
* src/odbc++.h: replaced all 'static const int ...' with enums
1999-01-20 Manush Dodunekov <manush@litecom.net>
* src/odbc++.h: Removed Clob and Blob classes, to be implemented
later on.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -