Reported warnings for Delphi fixed in r3042.
Warnings for Lazarus are mostly old ones or false alarm.
Search found 263 matches
- 18.10.2017, 08:35
- Forum: ZeosLib 7.2 Forum
- Topic: 7.2 testers-thread
- Replies: 514
- Views: 120231
- 17.10.2017, 16:48
- Forum: ZeosLib 7.2 Forum
- Topic: 7.2 testers-thread
- Replies: 514
- Views: 120231
Re: 7.2-Beta testers-thread
@miab3, cross unit compilation is fixed.
And I'll look at these warnings
And I'll look at these warnings
- 28.09.2017, 15:33
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
Re: [Suggestion] group and declare as constants all supported values of Parameters
Hello Jan, This is good news. Honestly I am surprised about having properties in ZCore. This is where things get messy. In my opinion it makes sense again to have them in separate units again. Something like a ZParams.pas in core and a ZDbcParams in the dbc subdirectory. If we want to keep to one si...
- 26.09.2017, 13:58
- Forum: ZeosLib 7.1 stable Forum
- Topic: Display Progressbar when opening the ZTable
- Replies: 2
- Views: 1349
Re: Display Progressbar when opening the ZTable
This isn't a Zeos issue. But check this solution
- 26.09.2017, 13:51
- Forum: ZeosLib 7.1 stable Forum
- Topic: ZQuery vs ZReadOnlyQuery
- Replies: 3
- Views: 1556
Re: ZQuery vs ZReadOnlyQuery
ZReadOnlyQuery executes queries (even modificating ones!) and returns resultset. ZQuery additionally allows modification of this result set and posting it to DB. ReadOnly property controls access level for current statement. ZQuery adds some overhead, so if you don't need Dataset.Edit/Post methods, ...
- 22.09.2017, 08:34
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
Re: [Suggestion] group and declare as constants all supported values of Parameters
Hello Jan, I made the main part, it wasn't hard but only messy sometimes. As some of the parameters are used in ZUrl and ZCompatibility units, I had to place the unit inside core\ folder to keep the hierarchy of uses. Let me know if dbс\ is preferred. Currently there are 43 connection and dataset pr...
- 20.09.2017, 14:56
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
Re: [Suggestion] group and declare as constants all supported values of Parameters
Hello Jan, I guess the suggestions/patches are better than just requests anyway ;) Yep, talk with the guy of course. Well, your offer is very flattering for me! I have plenty of things I'd wish to improve in Zeos. But I still can't say I fully realized the structure so for somewhat valuable changes ...
- 18.09.2017, 13:00
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
Re: [Suggestion] group and declare as constants all supported values of Parameters
So what decision we'll make? I suggest this: - One new unit ZCommonConstants for values that are used by all drivers (and maybe for some other things). - Driver-specific values will be added to ZPlain*Constants units - I suggest to call these constants ConnProps_*, TransProps_*, DSProps_*, f.i. Conn...
- 15.09.2017, 15:30
- Forum: ZeosLib 7.1 stable Forum
- Topic: wmWhereKeyOnly fails for VIEWs
- Replies: 1
- Views: 2017
Re: wmWhereKeyOnly fails for VIEWs
Seems like I did it. src/dbc/ZDbcGenericResolver.pas src/dbc/ZDbcGenericResolver.pas | 89 +++++++++++++++++++++++++++++------------ 1 file changed, 64 insertions(+), 25 deletions(-) diff --git a/src/dbc/ZDbcGenericResolver.pas b/src/dbc/ZDbcGenericResolver.pas index 3f0de89..8b63950 100644 --- a/src...
- 15.09.2017, 15:21
- Forum: ZeosLib 7.2 Forum
- Topic: [Request] Support INSERT...RETURNING transparently
- Replies: 7
- Views: 968
Re: [Request] Support INSERT...RETURNING transparently
Fix: ZDbcInterbase6 unit, TZInterbase6CachedResolver.UpdateAutoIncrementFields should be: procedure TZInterbase6CachedResolver.UpdateAutoIncrementFields( Sender: IZCachedResultSet; UpdateType: TZRowUpdateType; OldRowAccessor, NewRowAccessor: TZRowAccessor; Resolver: IZCachedResolver); var I: Integer...
- 15.09.2017, 08:54
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
Re: [Suggestion] group and declare as constants all supported values of Parameters
Hello Jan, I'm glad you support my idea. Concerning division of parameters by driver: there are plenty of parameters that are common to all drivers. So we'll need one unit for common constants anyway. Driver-specific parameters could be placed in ZPlain*Constants units. In any case parameters could ...
- 13.09.2017, 15:48
- Forum: ZeosLib 7.2 Forum
- Topic: [Request] Support INSERT...RETURNING transparently
- Replies: 7
- Views: 968
Re: [Request] Support INSERT...RETURNING transparently
I kind of did it. Now if Dataset has parameter "InsertReturningFields", the INSERT SQL will contain RETURNING part. Processing implemented for Firebird. Full commit message: * Support of INSERT...RETURNING construction * New Dataset option "InsertReturningFields" that has to have...
- 13.09.2017, 12:36
- Forum: ZeosLib 7.2 Forum
- Topic: [Suggestion] group and declare as constants all supported values of Parameters
- Replies: 12
- Views: 1076
[Suggestion] group and declare as constants all supported values of Parameters
Currently all names of Parameters of connections, datasets, transactions are used as literals. This not only is prone to mistakes but also significantly complexes the usage. One can use Zeos for years not knowing which parameters are available. My suggestion is to create separate unit where all the ...
- 13.09.2017, 12:25
- Forum: ZeosLib 7.2 Forum
- Topic: unit ZAbstractRODataset, possible bug or wrong indentation
- Replies: 0
- Views: 2705
unit ZAbstractRODataset, possible bug or wrong indentation
unit ZAbstractRODataset, method TZAbstractRODataset.InternalOpen contains this fragment: { Creates an SQL statement and resultsets } if not FUseCurrentStatment then if FSQL.StatementCount> 0 then ResultSet := CreateResultSet(FSQL.Statements[0].SQL, -1) else ResultSet := CreateResultSet('', -1); if n...
- 13.09.2017, 12:20
- Forum: ZeosLib 7.2 Forum
- Topic: unit ZDbcInterbase6Statement, seems like a bug
- Replies: 0
- Views: 2549
unit ZDbcInterbase6Statement, seems like a bug
unit ZDbcInterbase6Statement contains several fragments of this code: if (FStatementType in [stSelect, stExecProc]) and (FResultXSQLDA.GetFieldCount <> 0) then if not Assigned(LastResultSet) then LastResultSet := TZInterbase6XSQLDAResultSet.Create(Self, SQL, FStmtHandle, FResultXSQLDA, CachedLob, FS...