Search found 36 matches
- 04.05.2009, 16:12
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Exception with Firebird and large varchar
- Replies: 3
- Views: 404
No problem, I understand. I created the issue in the bug tracker just in case. I'll try to dig a little deeper (I'm not sure if it's only a Delphi 2009 problem or if it's related to Firebird 2.1 vs 2.0, or if - god forbid - I did something wrong), but I'm still widely unfamiliar with the Zeos codeba...
- 04.05.2009, 13:47
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Exception with Firebird and large varchar
- Replies: 3
- Views: 404
Exception with Firebird and large varchar
Hello, I think this is a regression from Zeos-6. An exception is thrown (assert failed) from TZAbstractBlob.GetUnicodeString (specifically "Assert(Len mod 2 = 0);") with large varchar fields (I triggered it first with a varchar(2561)). As far as I know this is way lower than the Firebird r...
- 18.02.2009, 10:20
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Zeos 7 Alpha and Delphi 2009 Support - Official Thread
- Replies: 97
- Views: 28246
- 17.09.2008, 11:36
- Forum: 6.6 - stable
- Topic: Problem using TZQuery.Append
- Replies: 2
- Views: 848
What's the actual error you get? sigh... I was writing the error I get is an exception triggered by CheckInterbase6Error() when I notice something. Because the question marks may be OK. That's what catch my attention and I assumed the generated SQL was incorrect. Turns out the beginning of the exce...
- 17.09.2008, 10:05
- Forum: 6.6 - stable
- Topic: Problem using TZQuery.Append
- Replies: 2
- Views: 848
Problem using TZQuery.Append
Hello, I ran into a problem when trying to do bulk insert using TZQuery.Append/Post. Here's an excerpt of my code in case I forgot something : Query := TZQuery.Create(nil); Query.Connection := Connection; Query.SQL.Text := 'select * from '+TableName+' where 0=1'; Query.Open; Query.Append; Query.Fiel...
- 28.03.2007, 14:17
- Forum: Firebird
- Topic: Non Zeos ALTER TABLE question
- Replies: 1
- Views: 1356
Non Zeos ALTER TABLE question
Hello, I searched through the SQL reference doc, various forums, ... but did not find any authoritative answer regarding this question : When you change a table structure to add a column(s) using ALTER TABLE ADD..., are the column(s) *always* added at the end of the table structure ? (I know you can...
- 09.02.2007, 15:03
- Forum: MySQL
- Topic: BEWARE - MySQL Free, but not as in "Free Beer"
- Replies: 3
- Views: 2009
Hello, With all due respect, I think you didn't read carefully enough the MySQL license agreement (not that license agreements in general are particularly crystal clear). There's absolutely nothing 'shaddy' or misleading in it, and many other vendor use this kind of double-licensing (the prime examp...
- 22.01.2007, 10:03
- Forum: Bug Reports
- Topic: [bug_fixed] EOutofMemory with Delphi 2006 + Firebird
- Replies: 5
- Views: 5293
- 22.12.2006, 10:13
- Forum: Bug Reports
- Topic: Memory leak with ExecSQL and Firebird
- Replies: 0
- Views: 2612
Memory leak with ExecSQL and Firebird
Hello, It seems this bug also appears with Firebird (I use TRUNK_187 with this previous bug fixed). The leak happens upon calling TZQuery.ExecSQL. As it seems to be the error message data not being freed, you can only witness it with invalid SQL. I'm afraid I'm not familiar enough with Zeos codebase...
- 15.12.2006, 10:17
- Forum: Off Topic
- Topic: use of zeos
- Replies: 8
- Views: 27262
Hello, Speaking of my own experience with Zeos, we began using it 18 months ago. It's now in production (our applications are somewhat of a niche market, so you likely haven't heard of it), and works really fine with decent speed (typical DB size : ~10^6 rows). However, our database usage is admited...
- 13.12.2006, 11:21
- Forum: Bug Reports
- Topic: [bug_fixed] EOutofMemory with Delphi 2006 + Firebird
- Replies: 5
- Views: 5293
I found a fix by explicitly copying the string. Replacing : PWideString(Buffer)^ := RowAccessor.GetUnicodeString(ColumnIndex, Result); by : WStrCopy(Buffer, PWideChar(RowAccessor.GetUnicodeString(ColumnIndex, Result))); Warning : WStrCopy() is defined in WideStrUtils.pas present with Delphi 2006, bu...
- 13.12.2006, 10:00
- Forum: Bug Reports
- Topic: [bug_fixed] EOutofMemory with Delphi 2006 + Firebird
- Replies: 5
- Views: 5293
[bug_fixed] EOutofMemory with Delphi 2006 + Firebird
Hello, I stumbled upon this, which looks like a bug. Basically I get an EOutOfMemory error when I try to access a Fields[x].AsString from a TZQuery when the field is a ftWideString. Bug occurs in ZAbstractRODataSet.pas at line 1195 (for trunk 187) : PWideString(Buffer)^ := RowAccessor.GetUnicodeStri...
- 05.06.2006, 15:41
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Connecting to OracleXE
- Replies: 7
- Views: 1792
- 02.06.2006, 10:18
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Connecting to OracleXE
- Replies: 7
- Views: 1792
Ok. Thanks for all the infos. Connection is now working fine. I don't know if it's intented, or documented, or expected, but all I had to do was remove the 'oci.dll' file from the program directory. Which lead to another question : - Connection is fine - I can run SQL scripts against the DB (tables ...
- 01.06.2006, 15:06
- Forum: 6.5.1 (alpha) - 6.6.x (beta)
- Topic: Connecting to OracleXE
- Replies: 7
- Views: 1792
Connecting to OracleXE
Hello, I'm really sorry having to repost this question, but unfortunately the previous one (along with an helpful answer) was lost during the webhosting switch. I'm having troubles connecting to Oracle (and OracleXE) DB. - Oracle XE (or Oracle) is installed locally - I understand I need a TNS to con...