Search found 2733 matches

by mdaems
15.03.2012, 00:23
Forum: 6.6 - stable
Topic: windows 7 - SQLHourGlass - SLOW
Replies: 12
Views: 5914

Wild_Pointer , It's maybe a lot easier. When scanning a dataset row by row it shouldn't be necessary to set the hourglass. So can you test this solution: Set the hourglass when Rowcount = 0 (all rows) OR RowCount - CurrentRows.Count >1 (more than 1 row) Of course, that makes it still slower for peo...
by mdaems
15.03.2012, 00:03
Forum: 6.6 - stable
Topic: SQLProcessor slow when handle thousand record
Replies: 5
Views: 1076

bgzretry,
The only way to improve the performance is checking if the update statements use indexes.
Also, when NamaRs is a number field you shouldn't use quotes around the parameter in your query as they may make it impossible for the database server to use indexes.

Mark
by mdaems
14.03.2012, 23:53
Forum: 6.6 - stable
Topic: ERRO: List index out of bounds(0)
Replies: 7
Views: 2060

OK, found the code. But you made your patch from new version to old version, so it's an inverted patch. But just looking to your patch makes me worry: wouldn't that only return 1 column for all tables? Adding 'and c.number = 0' looks to me 'allow only 1 column for each table in the resultset'. Can y...
by mdaems
14.03.2012, 23:39
Forum: 6.6 - stable
Topic: IZResultSet not reference last inserted record
Replies: 1
Views: 378

This is a bug? No, it's rather a feature that's not supported for Oracle. If you want that behaviour with oracle you should use a TZSequence component to fill the auto-increment value. If I'm not mistaken it's almost impossible to retrieve the autincremented column in the oracle OCI interface the w...
by mdaems
14.03.2012, 23:21
Forum: 6.6 - stable
Topic: WTA - How To Convert IZResultSet to TDataSet?
Replies: 3
Views: 421

NiksenH , Sorry for not reading your question good enough. Indeed, I remember the post you refer to. I see two possible solutions. - Write a TZAbstractRODataset method OpenFromIZResultset. When you publish that for the TZReadOnlyQuery that may work fine. - Make a component/class similar to ZSQLMeta...
by mdaems
14.03.2012, 22:52
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Rev 968 testing-branches-informations
Replies: 12
Views: 1414

Thanks Marco!

I hope we didn't upset you by doing some extra cleanup already. I only did the easy part (removing unused defines).
Don't hesitate when you see room for more improvements. The Delphi12_up stuff is still a huge job.

Mark
by mdaems
01.03.2012, 02:00
Forum: SQLite
Topic: path of Sqlite3.dll
Replies: 6
Views: 2688

Actually, it would be nice if somebody tried to find out how exactly you can add a new plaindriver object for a specific dll with the new plaindriver model in zeoslib 7. When we rewrote this code we had the idea it would allow us to provide a feature that actually could create a new driver object ba...
by mdaems
01.03.2012, 01:51
Forum: Feature Requests
Topic: Maybe improve the design of icons
Replies: 20
Views: 4670

Your icons are more clear, indeed. Would you be able to do the update for all icons? And could you manage to get them in the right formats for the source code of zeoslib? What I don't see is the small zeoslib icon that was in the old version. It gave the components some reference to the zeoslib comp...
by mdaems
01.03.2012, 01:44
Forum: SQLite
Topic: Read only error at Post command
Replies: 3
Views: 1875

Can the database file be readonly?
by mdaems
01.03.2012, 01:35
Forum: 6.6 - stable
Topic: ERRO: List index out of bounds(0)
Replies: 7
Views: 2060

paweld , I'm wondering where you have found the original code line... 'sysobjects o on (o.id = c.id) where o.name = %s and c.number=0'. Maybe I'm just seeing over it... What's your exact zeoslib 6.6 version? Can you browse the code in the 6.6-patches branch and trunk on sourceforge to check if the ...
by mdaems
01.03.2012, 01:19
Forum: 6.6 - stable
Topic: SSL file with spaces
Replies: 1
Views: 316

Hi Tintinux, I have no idea what the reason is or could be. Some guesses: - zeoslib strips part of the filename when spaces are included. Debugging the zeoslib SSL code for mysql can show this. See the ZDbcMysql.pas unit. In this case : send us a patch ith the fiw please - mysql expects a special fo...
by mdaems
01.03.2012, 01:03
Forum: 6.6 - stable
Topic: WTA - How To Convert IZResultSet to TDataSet?
Replies: 3
Views: 421

Why are you using IZResultset instead of just using a TZQuery which IS a TDataset descendant??
If you have a reason to do this, that's alright for me. Then you can check the code in the components source directory of zeoslib to see how the conversion is done there.

Mark
by mdaems
01.03.2012, 00:59
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19612

Correction! Apparently there's some odbcsql package in the fpc source code directory. No idea if it can be used to start a new driver, however.

Mark
by mdaems
01.03.2012, 00:53
Forum: ADO
Topic: Lazarus, Zeos and Ms Access (mdb)
Replies: 24
Views: 19612

pingy,
As long as fpc/lazarus can't provide an oledb replacement and nobody writes his own odbc/ado driver for zeoslib this will not become available. There are 2 reasons for this:
- licence issue with oledb unit
- no volunteering developers to write a new zeoslib driver

Mark
by mdaems
01.03.2012, 00:48
Forum: PostgreSQL
Topic: Working with UTF8 encoded dbs
Replies: 15
Views: 5526

pawelp,
You may be a candidate to use the testing-egonhugeist branch. This is a new effort to make zeos 7 work better with different codepages. It's written by a german, so you might even check with him directly if your case would be a good one to try his code on.

Mark