You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(23) |
Sep
(6) |
Oct
(2) |
Nov
(2) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
|
Feb
(14) |
Mar
(16) |
Apr
(14) |
May
(25) |
Jun
(38) |
Jul
(22) |
Aug
(39) |
Sep
(3) |
Oct
(13) |
Nov
(47) |
Dec
(3) |
2003 |
Jan
(38) |
Feb
(39) |
Mar
(24) |
Apr
(57) |
May
(30) |
Jun
|
Jul
(39) |
Aug
(90) |
Sep
(41) |
Oct
(141) |
Nov
(158) |
Dec
(137) |
2004 |
Jan
(86) |
Feb
(169) |
Mar
(100) |
Apr
(83) |
May
(94) |
Jun
(77) |
Jul
(85) |
Aug
(54) |
Sep
(45) |
Oct
(36) |
Nov
(42) |
Dec
(70) |
2005 |
Jan
(46) |
Feb
(44) |
Mar
(50) |
Apr
(73) |
May
(90) |
Jun
(87) |
Jul
(41) |
Aug
(47) |
Sep
(28) |
Oct
(23) |
Nov
(44) |
Dec
(81) |
2006 |
Jan
(21) |
Feb
(9) |
Mar
(82) |
Apr
(14) |
May
(109) |
Jun
(175) |
Jul
(188) |
Aug
(44) |
Sep
(5) |
Oct
(47) |
Nov
(15) |
Dec
(34) |
2007 |
Jan
(75) |
Feb
(24) |
Mar
(30) |
Apr
(4) |
May
(28) |
Jun
(9) |
Jul
(13) |
Aug
(13) |
Sep
(29) |
Oct
(15) |
Nov
(19) |
Dec
(12) |
2008 |
Jan
(7) |
Feb
(19) |
Mar
(1) |
Apr
(7) |
May
(13) |
Jun
(19) |
Jul
(17) |
Aug
(29) |
Sep
(15) |
Oct
(37) |
Nov
(18) |
Dec
(29) |
2009 |
Jan
(23) |
Feb
(12) |
Mar
(8) |
Apr
(16) |
May
(11) |
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(9) |
Nov
(17) |
Dec
(31) |
2010 |
Jan
(15) |
Feb
(5) |
Mar
(4) |
Apr
(8) |
May
(1) |
Jun
(5) |
Jul
(17) |
Aug
(2) |
Sep
(12) |
Oct
(33) |
Nov
(14) |
Dec
(24) |
2011 |
Jan
(11) |
Feb
(2) |
Mar
(34) |
Apr
(11) |
May
(12) |
Jun
(3) |
Jul
(6) |
Aug
(11) |
Sep
(10) |
Oct
(1) |
Nov
(8) |
Dec
|
2012 |
Jan
(16) |
Feb
(2) |
Mar
|
Apr
(2) |
May
(6) |
Jun
(2) |
Jul
(7) |
Aug
|
Sep
|
Oct
(7) |
Nov
(22) |
Dec
(2) |
2013 |
Jan
(1) |
Feb
(24) |
Mar
(15) |
Apr
(2) |
May
(3) |
Jun
|
Jul
(2) |
Aug
|
Sep
(2) |
Oct
(6) |
Nov
(10) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
|
Dec
(5) |
2015 |
Jan
(1) |
Feb
(4) |
Mar
(3) |
Apr
(3) |
May
|
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2016 |
Jan
(1) |
Feb
(9) |
Mar
(4) |
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(7) |
Nov
(13) |
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(12) |
Oct
(4) |
Nov
|
Dec
|
2018 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
|
Jul
(9) |
Aug
(4) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2019 |
Jan
(1) |
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(3) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2025 |
Jan
|
Feb
(2) |
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Paul R. <pr...@ib...> - 2002-05-21 14:11:40
|
Well, I've finally managed to collate all the contributions that have been made to the driver recently. The changes have been committed to the source tree. Now, we need to test them. The only guarantee at the moment is that the code compiles. I have deliberately chosen to get the changes committed before testing them properly because there are several people working on the code at the moment and we are in danger of tripping over ourselves. This will give everyone a chance to re-sync. All the changes have been clearly documented. Where code has been removed I have commented it out and marked it thus: //Orig. After the removed code I have inserted the suggested changes, starting with a brief comment to attribute the change to its owner. Each changed file has an amended header summarizing the changes and there is now a change log, which you can see below. Hopefully it will be clear enough to understand what has changed and why. For now, we need developers with access to MSVC to actually test the changes. There is not much point in testing without the ability to trace through the debug code at this stage. I know there are some more changes in the pipeline. When they are in I will look to getting a snapshot beta release out for more widespread testing. Thanks to everyone who has contributed. Here is the change log: * 2002-05-21 BinaryBlob.cpp * Change release() to test useCount <=0 * * 2002-05-20 Updated OdbcStatement.cpp * * Contributed by Robert Milharcic * o Several changes to allow reading of binary blobs * See code commented with //Added by RM or //From RM * 2002-05-20 BinaryBlob.cpp * * Contributed by Robert Milharcic * o Start with useCount of 0 * 2002-05-20 IscConnection.cpp * * Contributed by Robert Milharcic * o better management of statements * 2002-05-20 OdbcEnv.cpp * * Contributed by Robert Milharcic * o allocHandle() - Fix typo in assignment to connections * 2002-05-20 IscProcedureColumnsResultSet.cpp * * Contributed by C. G. Alvarez * o qualify the column names in getProcedureColumns() * 2002-05-20 IscIndexInfoResultSet.cpp * * Contributed by ? * o qualify the column names in getIndexInfo() * 2002-05-20 Value.cpp * Contributed by Bernhard Schulte * o Updated setValue() to support changes * in timestamp conversion. * 2002-05-20 TimeStamp.cpp * Contributed by Bernhard Schulte * o Bring operator() up-to-date with timestamp changes. * o ditto decodeTime(). * 2002-05-20 IscStatement.cpp * * Added contributions from Bernhard Schulte * o ::setValue() amended to * fix problem with trailing blanks. * * o Update setValue() to support changes to the * OdbcStatement datetime routines. * 2002-05-20 Updated OdbcStatement.cpp * * Contributed by Bernhard Schulte * o Use TimeStamp instead of DateTime in setParameter(). * 2002-05-20 Updated OdbcDateTime.cpp * * Contributed by Bernhard Schulte * - improvements to conversion routines to allow * working with dates outside the range of 1900-2039 * o TimeStamp Struct to Timestamp * o DateTime to Date Struct * o TimeStamp to Timestamp Struct * o ndate takes a new parameter - seconds, * because days won't fit in otherwise. * 2002-04-30 Updated main.cpp * * Added suggestions from Carlos G. Alvarez * o Test for logfile before trying to close it. * o Changed parameter types for SQLSetConnectOption * 2002-04-30 Updated IscStatement.cpp * * Added suggestions from LiWeimin * o IscStatement::setValue * When writing a varchar decrement the sqllen by 2 * before the test. * * o IscStatement::getIscDate * Don't modify the date returned with this expression * / (24 * 60 * 60) + baseDate * just return the date. * 2002-04-30 Setup.cpp * * Suggestion from Paul Schmidt * Add role to Setup::configureDialog() Finally, I must just add that I was having difficulties with my mail reader recently. This meant that I could'nt easily post to this list and had to do everything privately. I've got a new mail reader that works with my sourceforge id now, so hopefully we can keep everything out in the open and all can benefit from discussions about changes. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase |
From: <sc...@de...> - 2002-05-14 09:17:33
|
> I fixed wrong blob fields behaviour (tested with VCL 50 and Crystal > Reports 8.5). Where do I post changes? > > -- > Best regards > > Robert Milharcic > > ib-CADdy d.o.o. / www.ib-caddy.si > > Hi, I also made some changes conceerning the date and time values. Until now it was impossible to store and/or get date values <'1.1.1901' a= nd >'1.1.2039' (a few days more or less). So I 'misused' the TimeStamp-structure to store the real date in timestamp= .date and the seconds (not yust the nanos) in timestamp.nanos.... I also included the changes submitted by Carlos Guzm=E1n =C1lvarez. Still i have those bugs in using blob-fields. I would send the hole code to anyone who wants to have it (in a zip'd file= ). If you would send me the fixes about the blobs , I would by quite happy. -- please send your email also to 'sc...@de...' -- ------------ Best regards Bernhard Schulte ------------ |
From: Robert <rob...@ib...> - 2002-05-13 12:10:52
|
I fixed wrong blob fields behaviour (tested with VCL 50 and Crystal Reports 8.5). Where do I post changes? -- Best regards Robert Milharcic ib-CADdy d.o.o. / www.ib-caddy.si |
From: B. S. <sc...@de...> - 2002-05-06 19:30:48
|
I used the latest drivers downloaded from ibphoenix.com, built an application with BDE. Took my favorite "test-table" with a field of "CHAR(10)" but in my dalphi-Application this field is shown as "CHAR(11)", TQuery.size=11 and TQuery.display size=11. You can find the same behaviour, when connecting to this Database (by this DSN) with MS-Visual-Foxpro.. --> I tried to correct the odbc-driver but don't really know where to begin (which function/method). Maybe someone can give me a hint. Bernhard |
From: <woe...@ml...> - 2002-05-02 10:37:57
|
Hello Paul, first I want to apologize for my non-working modifications. Since I only have a MSVC 5 Personal Edition which refuses to compile the sources because of statically linked MFC, I did not and still do not have any possibility to test my changes. I already received feedback from one who had the same problem, but we could not solve it. Sorry that I did not inform you at once that there is a compiler error in my changes - I thought you were the ODBC driver developer and can handle that. So for now I already have tried to "organize" a Pro compiler edition to be able to test my changes before submission - maybe I get one in a few days, and then I hopefully can solve the problem and test the driver. Hence I would like to suggest that someone maybe should make the ODBC driver dynamically linked to MSVC - if this is possible with little effort - so that it can be compiled with the Personal editions of Microsoft's compilers. Regards, Michael Woecherl Original Message processed by Tobit InfoCenter Subject: Re: [Firebird-odbc-devel] Blob fields: wrong behaviour (01-Mai-2002 16:19) From: pr...@ib... To: woe...@ml... (and 1 other) On 23 Apr 2002 11:00:30 UT, woe...@ml... wrote: > > It would be great if somebody (of IBPhoenix?) could commit my > changes into cvs and make Win32 binaries available for download. > I've been going through your bug fix and I've found that it doesn't compile. The error appears to be associated with these two lines: OdbcStatement::setValue (line 435) strcpy ((char*) binding->pointer, string[binding->blobCounter]); OdbcStatement::setValue (line 440) memcpy (binding->pointer, string[binding->blobCounter], len); The compiler wont accept them without a type cast. So far I've tried this kind of cast: (const char *) string[binding->blobCounter] which the compiler accepts. Unfortunately a run-time access violation is then generated. If you have any suggestions I'm happy to try them. I'm not the developer of the driver - just the maintainer of the source. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase To: pr...@ib... fir...@li... |
From: Pier A. G. <pgu...@an...> - 2002-05-02 07:24:34
|
Hi Paul, I modified lines 417 and 422 in this way: line 417 strcpy ((char*) binding->pointer,string+binding->blobCounter); line 422 memcpy (binding->pointer, string+binding->blobCounter, len); Michael told me to modify also line 423 in this way: ((char*) (binding->pointer)) [len + 1] = 0; The compiler accepted them. I rebuilt all but the driver didn't work. Maybe I haven't used the latest source. I wasn't able to download them from CVS (how can I do that with WinCVS?), and so I used those available for download on the IBPhoenix site. Regards, Ing. Pier Alberto GUIDOTTI ANALYSIS s.r.l. Via Zanardi 403/23B 40131 BOLOGNA (ITALY) http://www.analysisbo.it |
From: Paul R. <pr...@ib...> - 2002-05-01 14:23:07
|
<HTML><HEAD> <BASEFONT FACE=3D"Courier New" SIZE=3D"2" COLOR=3D"#000000"> </HEAD> <BODY> <div>On 23 Apr 2002 11:00:30 UT, woe...@ml...= wrote:<br> ><br></div> <div><FONT COLOR=3D"#000080">> It would be great if= somebody (of IBPhoenix?) could commit my</FONT><br> <FONT COLOR=3D"#000080">> changes into cvs and make= Win32 binaries available for download.</FONT><br> <FONT COLOR=3D"#000080">></FONT><br> <br></div> <div>I've been going through your bug fix and I've found that it= doesn't compile. The error appears to be associated with these= two lines:<br></div> <div> </div> <div>OdbcStatement::setValue (line 435)<br></div> <div> strcpy ((char*) binding->pointer,= string[binding->blobCounter]);<br></div> <div><br> OdbcStatement::setValue (line 440)<br></div> <div> memcpy (binding->pointer,= string[binding->blobCounter], len);<br></div> <div> </div> <div>The compiler wont accept them without a type cast. So far= I've tried this kind of cast:<br></div> <div> </div> <div> (const char *)= string[binding->blobCounter]<br></div> <div> </div> <div>which the compiler accepts. Unfortunately a run-time access= violation is then generated.<br></div> <div> </div> <div>If you have any suggestions I'm happy to try them. I'm not= the developer of the driver - just the maintainer of the= source.<br></div> <div> </div> <div> </div> <div>Paul<br></div> <div>--<br></div> <div>Paul Reeves<br></div> <div><a= href=3D"http://www.ibphoenix.com">http://www.ibphoenix.com</a><br>= </div> <div>Supporting users of Firebird and InterBase<br></div> </body></html> |
From: Ferrari A. <fer...@ds...> - 2002-04-30 07:58:53
|
Thanks for the response, I'm using interclient too, without problems up to now, also for Numeric = fields. I think because i don't use store procedures. To compile ODBC-JDBC i used Microsoft Visual C++ easily, if you have = this product and you want compile the source, you must download the cvs = files, (If you can't i'll send them to you) the SDK for = Interbase/Firebird and setting properly the Linking and C++ properties. Currently i leaved ODBC-JDBC driver and i'm looking at = http://ofbodbc.sourceforge.net/=20 It is another open source driver, and for my need it seems working fine. =20 Best Regards, Alberto Ferrari -----Messaggio originale----- Da: Siavcom Software S. de R.L. de C.V. [mailto:si...@ax...] Inviato: luned=EC 29 aprile 2002 22.35 A: Ferrari Alberto; fir...@li... Oggetto: Re: [Firebird-odbc-devel] bug in resolving Timestamp, problem = in NUMERIC format Recently I have working with JDBC and the last version (2.1) of = Interclient for Firebird. I found some errors using Numeric and Decimal = Fields=20 In java with JDBC and Interclient when a select or store procedure = return a Decimal or Numerical Field with one or more decimal Interclient = return the next error=20 =20 Error: [interclient] Unsupported feature: Using a JDBC 2 method which is = not yet supported. See API reference for exception = interbase.interbclient.DriverNotCaptableException [SQLCode: 7], [SQLState: 0A000] =20 The Firebird-odbc JDBC I undertand use JDBC, I almost sure that many = problem using Numeric or Decimals Fields come from JDBC The solution is to chage all fields numeric or decimal to float or = doubble precision but There are one problem more : When you use a Float o double precision Field, = JDBC lost decimasl. Maximun you can use 3 precision decimals if you need = more precision Is not the answer. =20 =20 I readed many mail where many people found bugs in ODBC-JDBC but this = Bugs an solutions never had been updated in CVS tree. =20 If Firebird is not interested in update the new bug fixed I=B4m propose = create a new Open Source ODBC-JDBC in sourceforce with other name, where = the community can development and upgrade the new changes=20 =20 Who can help me how can I dowload the ODBC-JDBC and make exe file. =20 =20 I=B4m developer software. I=B4m using Visual FoxPro and firebid. I use = Easy Soft ODBC but I found that Easy Soft ODBC use the client of = Interbase. The client of Interbase use a lot of trasmision ( all data schema are = trasmited on each table or store procedure are consulted ) this cause a = lot of trafic over the Net. If the client is in a LAN (Local Area = Network) is not a big problem but if the client is outside of the LAN ( = using Interent, DS0 ect) the connexion is slow. =20 I made test using ODBC-JDBC in the past but when I tried to make a = connection I had a fatal error an my aplication is closed. =20 I Belive using ODBC-JDBC is the best solution of ODBC but we need the = colaboration of all yours in making test and found and fix bugs. =20 =20 =20 Thanks =20 Eng. Fernando Cuadras General Manager Siavcom Software=20 www.siavcom.com.mx si...@ax... =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 ----- Original Message -----=20 From: Ferrari <mailto:fer...@ds...> Alberto=20 To: fir...@li...=20 Sent: Monday, April 29, 2002 2:22 AM Subject: [Firebird-odbc-devel] bug in resolving Timestamp, problem in = NUMERIC format I all, I don't know if there is a bug in resolving Timestamp, but I have an = exception when i try to get a column of this type I looked the code, and i have found that if i comment these lines if ((days > 24855) || (days < -24885)) throw SQLEXCEPTION (CONVERSION_ERROR, "date out of = range"); at IscStatement::setValue(Value *value, XSQLVAR *var) the driver works, but I have some problem in TIME format (the resulted = format is not corrected in TIMESTAMP and in TIME). I have a problem also for NUMERIC, it seems that the resulted metada is = not correct, it seems to be a Integer not a Numeric. Any suggestion?? Best regards, Alberto Ferrari _______________________________________________ Firebird-odbc-devel mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel |
From: Siavcom S. S. de R.L. de C.V. <si...@ax...> - 2002-04-29 19:40:09
|
Recently I have working with JDBC and the last version (2.1) of = Interclient for Firebird. I found some errors using Numeric and Decimal = Fields=20 In java with JDBC and Interclient when a select or store procedure = return a Decimal or Numerical Field with one or more decimal Interclient = return the next error=20 Error: [interclient] Unsupported feature: Using a JDBC 2 method which is = not yet supported. See API reference for exception = interbase.interbclient.DriverNotCaptableException [SQLCode: 7], [SQLState: 0A000] The Firebird-odbc JDBC I undertand use JDBC, I almost sure that many = problem using Numeric or Decimals Fields come from JDBC The solution is to chage all fields numeric or decimal to float or = doubble precision but There are one problem more : When you use a Float o double precision Field, = JDBC lost decimasl. Maximun you can use 3 precision decimals if you need = more precision Is not the answer. I readed many mail where many people found bugs in ODBC-JDBC but this = Bugs an solutions never had been updated in CVS tree. If Firebird is not interested in update the new bug fixed I=B4m propose = create a new Open Source ODBC-JDBC in sourceforce with other name, where = the community can development and upgrade the new changes=20 Who can help me how can I dowload the ODBC-JDBC and make exe file. I=B4m developer software. I=B4m using Visual FoxPro and firebid. I use = Easy Soft ODBC but I found that Easy Soft ODBC use the client of = Interbase. The client of Interbase use a lot of trasmision ( all data schema are = trasmited on each table or store procedure are consulted ) this cause a = lot of trafic over the Net. If the client is in a LAN (Local Area = Network) is not a big problem but if the client is outside of the LAN ( = using Interent, DS0 ect) the connexion is slow. I made test using ODBC-JDBC in the past but when I tried to make a = connection I had a fatal error an my aplication is closed. I Belive using ODBC-JDBC is the best solution of ODBC but we need the = colaboration of all yours in making test and found and fix bugs. Thanks Eng. Fernando Cuadras General Manager Siavcom Software=20 www.siavcom.com.mx si...@ax... ----- Original Message -----=20 From: Ferrari Alberto=20 To: fir...@li...=20 Sent: Monday, April 29, 2002 2:22 AM Subject: [Firebird-odbc-devel] bug in resolving Timestamp, problem in = NUMERIC format I all, I don't know if there is a bug in resolving Timestamp, but I have an = exception when i try to get a column of this type I looked the code, and i have found that if i comment these lines if ((days > 24855) || (days < -24885)) throw SQLEXCEPTION (CONVERSION_ERROR, "date out of = range"); at IscStatement::setValue(Value *value, XSQLVAR *var) the driver works, but I have some problem in TIME format (the resulted = format is not corrected in TIMESTAMP and in TIME). I have a problem also for NUMERIC, it seems that the resulted metada = is not correct, it seems to be a Integer not a Numeric. Any suggestion?? Best regards, Alberto Ferrari _______________________________________________ Firebird-odbc-devel mailing list Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel |
From: Carlos G.A. <car...@ho...> - 2002-04-29 16:56:28
|
Hello: I´m working with the driver since a week ago and i found some errors, at this moment i have only a problem within fix with the update of the BLOB fields, the other errors that i have encountered are explained in this mail. Best Regards Carlos Guzmán Álvarez P.D.: Sorry about my bad English but i´m Spanish. Main.cpp: 1.- In the SQLDisconnect function the block: #ifdef LOGGING fclose (logFile); #endif should be: #ifdef LOGGING if ( logFile ) fclose (logFile); #endif 2.- The SQLSetConnectOption don´t work the problem is inthe parameters type it should be: RETCODE SQL_API SQLSetConnectOption (HDBC arg0, SQLUSMALLINT arg1, SQLUINTEGER arg2) { TRACE ("SQLSetConnectOption"); return SQLSetConnectAttr (arg0, arg1, (SQLPOINTER *)arg2, 0); } OdbcStatement.cpp 1.- The OdbcStatement::setParameter method don´t wotk good with SQL_C_CHAR parameters that aren´t null terminated strings I fixed it adding a new method to the PreparedStatement class and implementingg it in the IscPreparedStatement and IscCallableStatement classes, this new method can pass the length of the string: .... switch(binding->sqlType) { case SQL_CHAR: case SQL_VARCHAR: { /* * binding->precision is a new property of the class Binding */ statement->setString (parameter, (char*) binding->pointer, binding->precision); } break; } .... Sqlda.cpp: 1.- Sqlda::allocbuffer makes that the data returned by a SQLStatement was incorrect and that SQLColAttributes returned bad results for SQL_COLUMN_LENGTH. SQL_COLUMN_DISPLAY_SIZE, ..., i fixed this commenting this line: var->sqllen = length; With this line commented it´s neccesary other change in: IscStatement.cpp In the method IscStatement::setValue: .... case SQL_TEXT: { char *data = (char*) var->sqldata; data [var->sqllen] = 0; value->setString (data, false); } break; IscStatement.cpp 1.- The getIscDate method of the class IscStatement should be: ( this error already has been posted in a past message ) ISC_DATE IscStatement::getIscDate(DateTime value) { return value.date; } IscIndexInfoResultSet.cpp 1.- The method IscIndexInfoResultSet::getIndexInfo is incorrect it should be: void IscIndexInfoResultSet::getIndexInfo(const char * catalog, const char * schemaPattern, const char * tableNamePattern, bool unique, bool approximate) { const char *v6 = "select NULL as table_cat,\n" // 1 "\tNULL as table_schem,\n" // 2 "\tidx.rdb$relation_name as table_name,\n" // 3 "\tidx.rdb$unique_flag as non_unique,\n" // 4 "\tNULL as index_qualifier,\n" // 5 "\tidx.rdb$index_name as index_name,\n" // 6 "\t(3) as \"TYPE\",\n" // 7 (SQL_INDEX_OTHER) "\tseg.rdb$field_position as ordinal_position,\n" // 8 "\tseg.rdb$field_name as column_name,\n" // 9 "\tidx.rdb$index_type as asc_or_desc,\n" // 10 "\tidx.rdb$statistics as cardinality,\n" // 11 "\tNULL as \"PAGES\",\n" // 12 "\tNULL as filter_condition\n" // 13 "from rdb$indices idx, rdb$index_segments seg\n" " where idx.rdb$index_name = seg.rdb$index_name\n"; const char *preV6 = "select NULL as table_cat,\n" // 1 "\tNULL as table_schem,\n" // 2 "\tidx.rdb$relation_name as table_name,\n" // 3 "\tidx.rdb$unique_flag as non_unique,\n" // 4 "\tNULL as index_qualifier,\n" // 5 "\tidx.rdb$index_name as index_name,\n" // 6 "\t(3) as odbc_type,\n" // 7 (SQL_INDEX_OTHER) "\tseg.rdb$field_position as ordinal_position,\n" // 8 "\tseg.rdb$field_name as column_name,\n" // 9 "\tidx.rdb$index_type as asc_or_desc,\n" // 10 "\tidx.rdb$statistics as cardinality,\n" // 11 "\tNULL as odbc_pages,\n" // 12 "\tNULL as filter_condition\n" // 13 "from rdb$indices idx, rdb$index_segments seg\n" " where idx.rdb$index_name = seg.rdb$index_name\n"; JString sql = (metaData->storesMixedCaseQuotedIdentifiers()) ? v6 : preV6; if (tableNamePattern) sql += expandPattern (" and idx.rdb$relation_name %s '%s'\n", tableNamePattern); if (unique) sql += " and idx.rdb$unique_flag = 1"; sql += " order by idx.rdb$relation_name, idx.rdb$unique_flag, idx.rdb$index_name, seg.rdb$field_position"; prepareStatement (sql); numberColumns = 13; } IscPrimaryKeysResultSet.cpp 1.- The method IscPrimaryKeysResultSet::getPrimaryKeys is incorrect it should be: void IscPrimaryKeysResultSet::getPrimaryKeys(const char * catalog, const char * schemaPattern, const char * tableNamePattern) { JString sql = "select NULL as table_cat,\n" // 1 "\tNULL as table_schem,\n" // 2 "\trel.rdb$relation_name as table_name,\n" // 3 "\tseg.rdb$field_name as column_name,\n" // 4 "\tseg.rdb$field_position as key_seq,\n" // 5 "\tidx.rdb$index_name as pk_name\n" // 6 "from rdb$relation_constraints rel, rdb$indices idx, rdb$index_segments seg\n" " where rel.rdb$constraint_type = 'PRIMARY KEY'\n" " and rel.rdb$index_name = idx.rdb$index_name\n" " and idx.rdb$index_name = seg.rdb$index_name\n"; if (tableNamePattern) sql += expandPattern (" and rel.rdb$relation_name %s '%s'", tableNamePattern); sql += " order by rel.rdb$relation_name, idx.rdb$index_name, seg.rdb$field_position"; prepareStatement (sql); numberColumns = 6; } IscProcedureColumnsResultSet.cpp 1.- The method IscProcedureColumnsResultSet::getProcedureColumns is incorrect it should be: void IscProcedureColumnsResultSet::getProcedureColumns(const char * catalog, const char * schemaPattern, const char * procedureNamePattern, const char * columnNamePattern) { JString sql = "select NULL as table_cat,\n" // 1 "\tNULL as table_schem,\n" // 2 "\tpp.rdb$procedure_name as procedure_name,\n" // 3 "\tpp.rdb$parameter_name as column_name,\n" // 4 "\tpp.rdb$parameter_type as column_type,\n" // 5 "\tpp.rdb$field_type as data_type,\n" // 5 + 1 "\tpp.rdb$field_sub_type as type_name,\n" // 6 + 1 "\tpp.rdb$field_length as column_size,\n" // 7 + 1 "\tnull as buffer_length,\n" // 8 + 1 "\tf.rdb$field_scale as decimal_digits,\n" // 9 + 1 "\t10 as num_prec_radix,\n" // 10 + 1 "\tf.rdb$null_flag as nullable,\n" // 11 + 1 "\tf.rdb$description as remarks,\n" // 12 + 1 "\tf.rdb$default_value as column_def,\n" // 13 + 1 "\tnull as SQL_DATA_TYPE,\n" // 14 + 1 "\tnull as SQL_DATETIME_SUB,\n" // 15 + 1 "\tf.rdb$field_length as CHAR_OCTET_LENGTH,\n" // 16 + 1 "\tpp.rdb$parameter_number as ordinal_position,\n" // 17 + 1 "\t'YES' as IS_NULLABLE\n" // 18 + 1 "from rdb$procedure_parameters pp, rdb$fields f\n" "where pp.rdb$field_source = f.rdb$field_name"; if (procedureNamePattern) sql += expandPattern (" and pp.rdb$procedure_name %s '%s'", procedureNamePattern); if (columnNamePattern) sql += expandPattern (" and pp.rdb$parameter_name %s '%s'", columnNamePattern); sql += " order by pp.rdb$procedure_name, pp.rdb$parameter_number"; prepareStatement (sql); numberColumns = 19; } _________________________________________________________________ Envíe y reciba su correo de Hotmail desde el móvil: http://mobile.msn.com |
From: Ferrari A. <fer...@ds...> - 2002-04-29 08:23:19
|
I all, I don't know if there is a bug in resolving Timestamp, but I have an = exception when i try to get a column of this type I looked the code, and i have found that if i comment these lines if ((days > 24855) || (days < -24885)) throw SQLEXCEPTION (CONVERSION_ERROR, "date out of = range"); at IscStatement::setValue(Value *value, XSQLVAR *var) the driver works, but I have some problem in TIME format (the resulted = format is not corrected in TIMESTAMP and in TIME). I have a problem also for NUMERIC, it seems that the resulted metada is = not correct, it seems to be a Integer not a Numeric. Any suggestion?? Best regards, Alberto Ferrari =09 |
From: Atif T. <at...@ad...> - 2002-04-27 15:54:03
|
hello, can any body let me know how to connect Interbase from ASP using ADO. regards |
From: Pier A. G. <pgu...@an...> - 2002-04-24 10:14:25
|
Using Crystal Reports 8.5 I noted that when a text blob field is larger than 1024 bytes, the first block of 1024 bytes is repeated two or more times. Maybe this is the same bug reported by Michael Woecherl. Ing. Pier Alberto GUIDOTTI ANALYSIS s.r.l. Via Zanardi 403/23B 40131 BOLOGNA (ITALY) http://www.analysisbo.it |
From: Ferrari A. <fer...@ds...> - 2002-04-24 09:19:10
|
I all, I'm using ODBCJDBC with Visual Basic (ADO 2.6 sp2) :-( .. when i try to read a timestamp i get this error: "run time error = -2137217887(800040e21)". It seems, by debugging, that the driver sees = the rigth DataType ( Timestamp) but with a actual size of 16 bytes, .. = so i suspect that the Timestamp's size read is greater than that = expected. any suggest or workaround ??? Best Regards, Alberto Ferrari. |
From: Paul R. <pr...@ib...> - 2002-04-24 06:16:36
|
On 23 Apr 2002 11:00:30 UT, woe...@ml... wrote: >=A0It would be great if somebody (of IBPhoenix?) could commit my >=A0changes into =A0cvs and make Win32 binaries available for= download. > > >=A0Attached files: OdbcStatment.cpp =A0 =A0 =A0 -- my changed version >=A0dbcStatment.h =A0 =A0 =A0 =A0 -- my changed =A0version > >=A0dbcStatment.cpp.diff =A0-- diff cvs source : my version >=A0dbcStatment.h.diff =A0 =A0-- diff cvs source : my version I= downloaded >=A0cvs sources on March 15, 2002 (ok, that's centuries ago...). > It is not centuries ago in terms of the ODBC driver. I don't= believe any changes have been committed since then. There are a= couple in the pipeline, and now yours. If all goes well, I will actually get this weeks work done this= week, and be able to spend some time next week bringing the= driver up to date and testing the changes. It would certainly be= nice to get a new release out. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase |
From: Paul S. <pa...@tr...> - 2002-04-18 20:43:17
|
Dear List: Crystal Reports has a nasty habit of when dealing with dates and times using the syntax DATETIME_FIELD = {ts('2002-02-02 01:00:02)} most of the drivers don't handle this, including the ODBCJDBC driver, anyone know if there is a way of turning this off? Or maybe handling this easily? Paul Paul Schmidt, President Tricat Technologies pa...@tr... www.tricattechnologies.com |
From: LiWeimin <li...@37...> - 2002-04-13 05:06:30
|
Another bug: case SQL_VARYING: { int length = *((short*) var->sqldata) ; char *data = var->sqldata + 2; if (length < var->sqllen-2) ""LiWeimin"" <li...@37...> wrote in message news:a90u8p$di9$1...@ne...... > ISC_DATE IscStatement::getIscDate(DateTime value) > { > return value.date / (24 * 60 * 60) + baseDate; > } > > > just to be : > > ISC_DATE IscStatement::getIscDate(DateTime value) > { > return value.date; > > } > > Another thing: > > I meet error when I do this: > > m_pSet->Open(); > while ( !m_pSet->IsEOF() ) { > SelectAnotherTable(m_pSet->m_COL); > m_pSet->MoveNext(); > } > > > > > > > _______________________________________________ > Firebird-odbc-devel mailing list > Fir...@li... > https://lists.sourceforge.net/lists/listinfo/firebird-odbc-devel > |
From: Pier A. G. <pgu...@an...> - 2002-04-12 07:19:52
|
I discovered two bugs: 1) If a BLOB field contains a graphic larger than 1Kb, the application crashes with a Runtime error. 2) If a time stamp field contains an "impossible" date (like 0200/1/1 or 9900/1/1), the application crashes with a runtime error. I reproduced those bugs with both Crystal 8.5 and dBASE (dB2K). Regards, Ing. Pier Alberto GUIDOTTI ANALYSIS s.r.l. Via Zanardi 403/23B 40131 BOLOGNA (ITALY) http://www.analysisbo.it |
From: LiWeimin <li...@37...> - 2002-04-10 12:45:31
|
ISC_DATE IscStatement::getIscDate(DateTime value) { return value.date / (24 * 60 * 60) + baseDate; } just to be : ISC_DATE IscStatement::getIscDate(DateTime value) { return value.date; } Another thing: I meet error when I do this: m_pSet->Open(); while ( !m_pSet->IsEOF() ) { SelectAnotherTable(m_pSet->m_COL); m_pSet->MoveNext(); } |
From: Niels B (Developmentor) <ni...@de...> - 2002-04-08 15:01:45
|
I apologize for the x-post, but at this stage I really didn't know which group to post to. Anyway, has there been any discussions about a provider for MS .NET framework? I have tried to look through the psots but haven't found anything. Would there be interest in development of that kind of provider? Niels -- *************************************** * Niels Berglund * Developmentor * ni...@de... * http://staff.develop.com/nielsb/ *************************************** |
From: Mark B. <bu...@mi...> - 2002-03-23 19:04:10
|
Bug report: FirebirdSS-1.0.0-796 depends on having localhost in /etc/hosts.equiv Redhat 7.x installs "localhost.localdomain" in /etc/hosts.equiv. If this bogus alias is removed from /etc/hosts without correcting /etc/hosts.equiv to match (something not exactly obvious), an error is reported for new local connections in interbase.log |
From: Mark B. <bu...@mi...> - 2002-03-23 19:00:22
|
The FirebirdSS-1.0.0.796 rpm package installs /opt/interbase/isc_config as rw-r----- (chmod 540). The isql utility attempts to read this file on startup, but cannot, because it is not world-readable, which results in an error in interbase.log. |
From: Paul R. <pr...@ib...> - 2002-03-23 09:26:29
|
[repost - I still forget to use the Reply-all button sometimes] Paul Schmidt wrote: > > > Then the configuration dialog will display the current role, and update the role > setting in the registry. I only have read access to the CVS tree, so if someone who > has write access, wants I can send them my copy of setup.cpp to update the tree. Send it to me and I'll take a look at it. > If anyone has comments on this then please let me know.... > Will do. > BTW how do you get write access to the tree, using WinCVS? > You need to be a member of the Firebird project. Membership gives full write access to the whole CVS tree, not just the sub-projects. For that reason prospective members are asked to contribute to the code base with some patches that get accepted before they can become members. So you've made a start. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase |
From: Dmitry Y. <di...@us...> - 2002-03-23 07:43:43
|
Hi Paul, > Okay, so it's more a PITA then a real bug, In OdbcJdbcSetup, in > Setup::configureDialog() two lines are missing. > > Add ~248 dialog.m_role = role; > Add ~258 role = dialog.m_role; > > Then the configuration dialog will display the current role, > and update the role > setting in the registry. I only have read access to the CVS > tree, so if someone who > has write access, wants I can send them my copy of setup.cpp > to update the tree. It could be probably me, if others don't mind. > BTW how do you get write access to the tree, using WinCVS? If you want to become an actual developer and contribute to the project, you should ask one of the Firebird admins to get CVS commit rights. Then I could guide you through the steps required to set up WinCVS properly. Yes, I remember what I promised you privately a couple of weeks ago, but I was a kind of busy lately. It seems now it's time to rehabilitate myself ;-) BTW, have you succeeded in solving your problems with Crystal? Dmitry |
From: Paul S. <pa...@tr...> - 2002-03-22 19:18:32
|
Okay, so it's more a PITA then a real bug, In OdbcJdbcSetup, in Setup::configureDialog() two lines are missing. Add ~248 dialog.m_role = role; Add ~258 role = dialog.m_role; Then the configuration dialog will display the current role, and update the role setting in the registry. I only have read access to the CVS tree, so if someone who has write access, wants I can send them my copy of setup.cpp to update the tree. If anyone has comments on this then please let me know.... BTW how do you get write access to the tree, using WinCVS? Paul Paul Schmidt Tricat Technologies pa...@tr... www.tricattechnologies.com |