Search found 1934 matches
- 28.11.2020, 06:42
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Problem with LCL definition
- Replies: 10
- Views: 545
Re: Problem with LCL definition
Hi Kirill, i've been testing various ways last days, so sorry for the late answer. Yet i didn't found a way to catch the lcl define except we would create an extra component package for Lazarus only. Also adding -dLCL to the designtime package did not help. Why i use the define: 1. Lazarus wrongly o...
- 26.11.2020, 19:50
- Forum: Oracle
- Topic: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
- Replies: 34
- Views: 2299
Re: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
Curious... Wondering about your client-lib versions.. Non of them are the versions for the servers you/we are talking about! My client and server version are on same level, your client version is somewhat newer than the servers you're attaching. And i think the truncaction errors you report are reas...
- 26.11.2020, 19:43
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Problem with LCL definition
- Replies: 10
- Views: 545
Re: Problem with LCL definition
Hmmmpppff, nice catch! But yet i have no answer how to resolve what you are reporting. Even if i add the define, the code will never be executed. The IDE just visualizes it would do. If i set a breakpoint to the line, you mentioned, i don't get an halt on the line. On my side the debugger always use...
- 25.11.2020, 18:17
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Several bugs in Zeos source code (r7115-trunk)
- Replies: 2
- Views: 228
Re: Several bugs in Zeos source code (r7115-trunk)
Krill, Both wrong defines fixed. See: https://sourceforge.net/p/zeoslib/code-0/7116/ According the Assert(s): in most cases it's exacly what i want: Do not compile the Asserts in release mode. But some of them need to be revisited, propably! -> happen on Developement.. I'll check then Assert() lines...
- 25.11.2020, 18:13
- Forum: Oracle
- Topic: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
- Replies: 34
- Views: 2299
Re: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
Thank you, that's eaxactly what i want to know. I can't believe the truncation errors of Oracle using UTF16 will continue. But i'm waiting for confirmation.
I'm curious about the MySQL and FreeTDS reports.. investigating
I'm curious about the MySQL and FreeTDS reports.. investigating
- 24.11.2020, 15:14
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Issue with OleDB using the MySQL ODBC driver
- Replies: 7
- Views: 362
Re: Issue with OleDB using the MySQL ODBC driver
Hello Mark, i changed the DBRESULTFLAGENUM to DBRESULTFLAG_DEFAULT as suggested: https://sourceforge.net/p/zeoslib/code-0/7112/ All tests passing fine, thanks for pointing this out! Btw, is the "King regards" in your signature on purpose? An inside joke perhaps? Nope, not a inside joke, ju...
- 24.11.2020, 06:21
- Forum: Oracle
- Topic: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
- Replies: 34
- Views: 2299
Re: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
ae i'm a bit puzzled about the reports now because we had not been on same code bandwith iirc.
So could you make a small summary after all the changes, plz?
So could you make a small summary after all the changes, plz?
- 24.11.2020, 06:05
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: MySQL autocommit and starttransaction issue.
- Replies: 3
- Views: 382
Re: MySQL autocommit and starttransaction issue.
Now we've loads of tests fails now. However i think you're right.
I'll implement the explicit "START TRANSACTION" syntax.
Mark i never was able to find a problem with the current logic. Can you give me an example where it did fail? -> for the tests
I'll implement the explicit "START TRANSACTION" syntax.
Mark i never was able to find a problem with the current logic. Can you give me an example where it did fail? -> for the tests
- 24.11.2020, 06:01
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: Issue with OleDB using the MySQL ODBC driver
- Replies: 7
- Views: 362
Re: Issue with OleDB using the MySQL ODBC driver
Hello Mark, that makes me curious. Could you debug: ZDbcOleDBMetadata.pas -> TZOleDBDatabaseInfo.InitilizePropertiesFromDBInfo -> DBPROP_MULTIPLERESULTS: fSupportsMultipleResultSets := PropSet.rgProperties^ .vValue <> DBPROPVAL_MR_NOTSUPPORTED; Is there something wrong in my code? OTH can you please...
- 19.11.2020, 19:52
- Forum: Lazarus / Freepascal
- Topic: Issue with CreateBlobStream and zeos 8
- Replies: 4
- Views: 423
Re: Issue with CreateBlobStream and zeos 8
You don't need to post the project, jabounet. I'm starting from the premisse it's a cross post to https://forum.lazarus.freepascal.org/index.php/topic,51878.0.html , is it, or related? Than: jmst.loadFromStream(CreateBlobStream(FieldByName('DATAS'), bmread)); Errrrrrrrm did you ever (Even if this wa...
- 18.11.2020, 08:13
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: ZQuery.Cancel error
- Replies: 5
- Views: 257
Re: ZQuery.Cancel error
Hello Norbert,
please open a ticket for that:
make a create skript, a popullate data skript and a small no gui app (if possible) and i can fix it quickly. Yet my crystal ball doesn't talk to me
please open a ticket for that:
make a create skript, a popullate data skript and a small no gui app (if possible) and i can fix it quickly. Yet my crystal ball doesn't talk to me
- 18.11.2020, 08:06
- Forum: Oracle
- Topic: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
- Replies: 34
- Views: 2299
Re: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
@aehimself I followed your advice and use OCI_ATTR_CHAR_SIZE for the character fields instead. Means we determine the Precision field and datasize will be calculated by NormalizeOracleTypeToSQLType. I found this constant in old oracle 8 headers, so it should work for old oracle servers too. See: htt...
- 17.11.2020, 07:11
- Forum: ZeosLib 7.2 Forum
- Topic: Informix support in Zeos 7.2.8
- Replies: 5
- Views: 456
Re: Informix support in Zeos 7.2.8
@Vodnic First of all: Both ODBC protocols are tested and optimized against SQLServer only. So i can't guarantee if it would work. According your question: IIRC the Informix is a raw Server so ODBC_A would be my choice. Determining the charactersets is a bit different made for OleDB/ODBC: set a custo...
- 17.11.2020, 07:04
- Forum: ZeosLib 7.3/8.0 Forum
- Topic: How to handle transactions properly with Zeos?
- Replies: 19
- Views: 2697
Re: How to handle transactions properly with Zeos?
Hello Krill, i fixed a bug: https://sourceforge.net/p/zeoslib/code-0/7088/ and added a TestCase: procedure TZGenericecTransactionTestCase.TestQueryTransaction; var Query: TZQuery; Transaction: TZTransaction; Succeeded: Boolean; begin Query := CreateQuery; Check(Query <> nil); Transaction := CreateTr...
- 16.11.2020, 20:18
- Forum: Oracle
- Topic: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
- Replies: 34
- Views: 2299
Re: Oracle 11.2.0 vs Oracle 12.1.0 TWideStringField.Size
I saw your latest checkin with the character length issue, but the verification for 12.0 seems a bit... unprofessional. True, but you're faster on testing than i've time for the forum. I just wanted to know if it resolve the problem. OCI_ATTR_CHAR_SIZE - Returns the column character length which is...