Project

General

Profile

Activity

From 09/05/2022 to 10/04/2022

10/04/2022

04:29 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> As a first observation, I agree with Eric's note #6453-24: FWD is quite a large project, it...
Igor Skornyakov
04:25 PM Database Feature #6453: temp-table features
As a first observation, I agree with Eric's note #6453-24: FWD is quite a large project, it has 200+ dependencies (ja... Ovidiu Maxiniuc
04:00 PM Database Feature #6453: temp-table features
Greg Shah wrote:
> Also note that sometimes it is harder to meet specific 4GL compatibility requirements using 3rd p...
Igor Skornyakov
03:48 PM Database Feature #6453: temp-table features
Also note that sometimes it is harder to meet specific 4GL compatibility requirements using 3rd party libraries that ... Greg Shah
02:21 PM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> I agree with most of your points, except the performance assumption in your first point (and...
Igor Skornyakov
02:13 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> I undestand this. My points is
> * for this particular piece of functionality performan...
Eric Faulhaber
01:52 PM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> We are very careful about introducing new dependencies into the project and in fact we are s...
Igor Skornyakov
01:36 PM Database Feature #6453: temp-table features
We are very careful about introducing new dependencies into the project and in fact we are striving to simplify by re... Eric Faulhaber
01:14 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Don't you think that instead of manual implementtation it makes sense to use some open-sour...
Igor Skornyakov
12:05 PM Database Feature #6453: temp-table features
It is easy to fix FWD to add index data to the @WRITE-XMLSCHEMA@ output. All we need is no comment @!this.isSchemaOnl... Igor Skornyakov
02:38 PM Database Bug #6767: Possible name clashes in DMO classes
Vladimir Tsichevski wrote:
> Eric Faulhaber wrote:
> > To clarify the task, we need to work through all superinterf...
Eric Faulhaber
11:31 AM Database Feature #6347: change the name conversion to provide a configurable option to not emit "snake case"
Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > Eric, I'm placing this back to WIP as this prevents 6129a to ...
Constantin Asofiei
11:07 AM Database Feature #6347: change the name conversion to provide a configurable option to not emit "snake case"
Constantin Asofiei wrote:
> Eric, I'm placing this back to WIP as this prevents 6129a to be tested with other projec...
Eric Faulhaber
10:55 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
Radu, please help me understand this better (perhaps it will make more sense to me when I review the update).
My c...
Eric Faulhaber
05:26 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
After some analysis, I have identified a spot in @PreselectQuery@ where things could be optimized. The problem was as... Radu Apetrii
09:45 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek/Stanislav: Please review. Greg Shah
06:51 AM Conversion Tools Feature #6237: OEUnit support
To pass test descriptors over network, we need to make them @Serializable@ or @Externalizable@. Original POS test des... Vladimir Tsichevski

10/03/2022

03:49 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Please merge ca_upd_20221002b_3821c_14261.zip into 3821c. Greg Shah
01:48 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> I implemented this using the reference manual and tested on real customer application. The ...
Igor Skornyakov
01:36 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSC...
Ovidiu Maxiniuc
01:03 PM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Actually there are minor incompatibilities:
> # The initial value of th @PRIMARY@ attribut...
Igor Skornyakov
11:53 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> Ovidiu Maxiniuc wrote:
>
> > OTOH, the PRIMARY attribute lacks both both conversion and ...
Igor Skornyakov
11:32 AM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> OTOH, the PRIMARY attribute lacks both both conversion and runtime support. The good news...
Igor Skornyakov
11:10 AM Database Feature #6453: temp-table features
Igor Skornyakov wrote:
> It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSC...
Igor Skornyakov
05:53 AM Database Feature #6453: temp-table features
It looks that the value of the @SCHEMA-MARSHAL@ attribute has no effect on the @WRITE-XMLSCHEMA@ output (both for 4GL... Igor Skornyakov
03:48 AM Database Feature #6453: temp-table features
Eric Faulhaber wrote:
> Agreed, but adding missing functionality is highest priority; if fixing any of these items l...
Igor Skornyakov
03:30 AM Database Feature #6453: temp-table features
Agreed, but adding missing functionality is highest priority; if fixing any of these items looks to be particularly t... Eric Faulhaber
12:59 PM Conversion Tools Feature #6237: OEUnit support
I have no objection to the bootstrap cfg approach. Greg Shah
12:09 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, we can use the @BootstrapConfig@ to pass the test engine discover request data...
Vladimir Tsichevski
10:20 AM Conversion Tools Feature #6237: OEUnit support
I think, we can use the @BootstrapConfig@ to pass the test engine discover request data from test runner (e.g. Eclips... Vladimir Tsichevski
09:13 AM Conversion Tools Feature #6237: OEUnit support
One more change required for the JUnin5 framework would able to discover the custom test engine.
See @6237-addon.d...
Vladimir Tsichevski
07:40 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Marian Edu wrote:
>
> > Attached the new patch.
Marian Edu
02:50 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Attached the new patch.
Looks like attachments are not accepted, it gives an 'internal server...
Marian Edu
02:48 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
I did a bit of additional clean-up, resolve function key code in @lookupWorker@ and don't waste time looking up throu... Marian Edu
03:33 AM Database Feature #6371: implement SAVE CACHE statement
I have committed revision 14112, which fixes the NPE and refactors the code for this feature out of @DatabaseManager@... Eric Faulhaber

10/02/2022

04:36 PM Database Feature #6453: temp-table features
> As I've mentioned in #6453-10 the issues mentioned above formally do not related to the scope of this task. Should ... Greg Shah
12:21 PM Database Feature #6453: temp-table features
I've re-worked the test program to use all possible data types and all possible TEMP-TABLE Field options, and noticed... Igor Skornyakov
12:18 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Constantin Asofiei wrote:
> And the update.
The latest update, previously had redmine errors.
Constantin Asofiei
11:23 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
And the update. Constantin Asofiei
11:22 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
There was a problem in an app related to dataset-handle parameters - BufferManager support is required for blocks def... Constantin Asofiei
12:17 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Greg Shah wrote:
> @ca_upd_20220930a_3821c_14261.zip@ is the latest?
No, see attached.
Constantin Asofiei
12:11 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
@ca_upd_20220930a_3821c_14261.zip@ is the latest? Greg Shah
11:19 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Latest update is attached - for external programs, a separate call-site cache is being kept, as these are dependent o... Constantin Asofiei

09/30/2022

04:23 PM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> One question: is @attribute@ always synonymous with a column?
I introduced constants to...
Boris Schegolev
10:57 AM Database Feature #6371: implement SAVE CACHE statement
Thanks for the fixes in 14110. The last known state for my very simple database looks like this persisted:... Eric Faulhaber
06:45 AM Database Feature #6371: implement SAVE CACHE statement
I reverted all Class Loader modifications. We'll have to get back to that later.
Also, I reimplemented and tested ...
Boris Schegolev
02:16 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> I pushed several fixes for the comments above:
>
> * SchemaComparator file access synchr...
Eric Faulhaber
02:05 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> As list of pending changes as noted by Vladimir via email:
>
> [...]
>
> For changes 1 thro...
Vladimir Tsichevski
01:40 PM Database Feature #6453: temp-table features
I've noticed a number of discrepancies between 4GL and FWD for @READ-XMLSCHEMA@/@WRITE-XMLSCHEMA@/@READ-XML@/@WRITE-X... Igor Skornyakov
01:18 PM Base Language Feature #1970 (WIP): improve ControlFlowOps method resolution by reflection
Greg, please review these changes. The runtime for the caching is this:
* use the caching mechanism for event proc...
Constantin Asofiei
07:51 AM Database Support #6679: H2 general performance tuning
I am currently working on integrating a 4GL code test into Hotel GUI project. The test consists of simple operations ... Dănuț Filimon
05:29 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Greg Shah wrote:
> Code Review ca_upd_20220927a_3821c_14253.zip
>
> I have no objections. Has this been tested w...
Greg Shah
04:42 AM Database Feature #6582: implement multi-table AdaptiveQuery
Greg Shah wrote:
> Are all of the tests written for this in 4GL code? Can the testing be easily replicated by other...
Alexandru Lungu
04:12 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Stanislav Lomany wrote:
> > 6764.02.patch
>
> There's a browse-specific piece of code which was dropped, and this...
Marian Edu

09/29/2022

04:27 PM Database Feature #6371: implement SAVE CACHE statement
I pushed several fixes for the comments above:
* SchemaComparator file access synchronization
* ClassLoader del...
Boris Schegolev
10:51 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> BTW, what database are you connected to? MySQL, Postgres, ...?
So far, I've only tested ...
Eric Faulhaber
06:37 AM Database Feature #6371: implement SAVE CACHE statement
I pushed a fix for the NPE as revision 14108.
As for the flow, the intended use goes like this:
# @saveInitialS...
Boris Schegolev
04:28 AM Database Feature #6371: implement SAVE CACHE statement
BTW, what database are you connected to? MySQL, Postgres, ...? Boris Schegolev
04:24 AM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> The problem is that we are trying to get all index info for all tables, but that API doesn...
Boris Schegolev
02:28 AM Database Feature #6371: implement SAVE CACHE statement
I've made changes to @SchemaComparator@, mostly formatting to match our coding standards, and some functional to get ... Eric Faulhaber
04:25 PM Runtime Infrastructure Feature #6673: rework appserver agent approach to use a shared queue instead of a check-in/check-...
I'd like to take a look at this case. I plan to instrument this code and measure the cost of various approaches and ... Greg Shah
03:52 PM Database Feature #6720: lazy hydration
> If we are to lazily hydrate records, any column data which was not loaded in the initial hydration pass will have t... Greg Shah
02:41 PM User Interface Feature #6764: Improve trigger selection for keyboard events.
> 6764.02.patch
There's a browse-specific piece of code which was dropped, and this part is regressed.
Testcase a...
Stanislav Lomany
09:55 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> With this kind of specialized behavior it probably doesn't make sense to be placed in utils,...
Marian Edu
09:02 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > OK. What about the "frame/window propagation"?
>
> That is handled i...
Hynek Cihlar
08:30 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> OK. What about the "frame/window propagation"?
That is handled in @lookupWorker@, first wal...
Marian Edu
08:14 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Marian Edu wrote:
> Hynek Cihlar wrote:
> > Code review 6764.01.patch.
> >
> > I'm only worried about the remove...
Hynek Cihlar
08:11 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Stanislav: Please review. Greg Shah
07:07 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Hynek Cihlar wrote:
> Code review 6764.01.patch.
>
> I'm only worried about the removed browser-specific behavior...
Marian Edu
02:56 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Code review 6764.01.patch.
It is very nice that the result is a lot cleaner. I didn't find any particular issue fr...
Hynek Cihlar
02:03 PM Conversion Tools Feature #6237: OEUnit support
As list of pending changes as noted by Vladimir via email:... Greg Shah
11:46 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > So we need to either disable the Jupiter engine somehow (which I failed to find out how), or us...
Vladimir Tsichevski
08:10 AM Conversion Tools Feature #6237: OEUnit support
> So we need to either disable the Jupiter engine somehow (which I failed to find out how), or use our own markup for... Greg Shah
05:09 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Vladimir Tsichevski wrote:
>
> > The little problem with Eclipse is that it always u...
Vladimir Tsichevski
01:55 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> For external procedures, the only thing I can cache is the target Java classname - to avoid PROPATH resolution on e... Greg Shah
01:25 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
For external procedures, the only thing I can cache is the target Java classname - to avoid PROPATH resolution on eac... Constantin Asofiei
08:25 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> There is also the RUN SUPER or SUPER() case which is not supported in conversion yet...
Agreed. These seem impo...
Greg Shah
06:51 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
@ControlFlowOps@ is being used in FWD internal classes, for example invoking a callback procedure for SAX parsing or ... Constantin Asofiei
08:24 AM Database Feature #6582: implement multi-table AdaptiveQuery
> either the conversion should generate multi-table AdaptiveQuery only for persistent tables
I think we should be...
Greg Shah
08:20 AM Database Feature #6582: implement multi-table AdaptiveQuery
Are all of the tests written for this in 4GL code? Can the testing be easily replicated by others in the future? I'... Greg Shah
06:07 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've done some tests with H2 2.1.214 an there is no improvement with the query plan (especially for cross joins).
...
Alexandru Lungu

09/28/2022

05:53 PM Database Feature #6371: implement SAVE CACHE statement
FYI, I am making major changes to @SchemaComparator@. Please do not modify this class until I check it in. Eric Faulhaber
02:06 AM Database Feature #6371: implement SAVE CACHE statement
I reverted rev 14106 locally because it breaks the singleton contract of @AsmClassLoader@ and thus breaks server star... Eric Faulhaber
12:23 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> The little problem with Eclipse is that it always uses some version of the "Jupiter" ...
Vladimir Tsichevski
12:16 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review uast-hints-unit-test-type.diff
>
> I don't see any purpose in having @ELEM_UNITTES...
Vladimir Tsichevski
08:56 AM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Greg, I'm leaving caching support only for internal procedures or function calls. Others, like ASYNC, ON SERVER, AS-... Constantin Asofiei
08:20 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
Constantin/Hynek: Please review. Greg Shah
08:13 AM User Interface Feature #6764 (Review): Improve trigger selection for keyboard events.
Please review the patch and let me know if you see anything wrong or something I've missed - doing a smoke test on @<... Marian Edu
08:11 AM User Interface Feature #6764 (WIP): Improve trigger selection for keyboard events.
Since #6528 is already closed I'll use this task to upload the patch that tries to clean-up/improve the event lookup ... Marian Edu
07:11 AM Database Feature #6582: implement multi-table AdaptiveQuery

|_\13. Iterate all records with NEXT |
|_\2. Test |_\2. 4GL temporary ...
Alexandru Lungu

09/27/2022

04:59 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
I'd also go with an invocation syntax more like this:... Greg Shah
04:45 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
> Unfortunately this approach of putting the static parts at the CALL_SITE makes debugging very hard
The resulting...
Greg Shah
02:57 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
Unfortunately this approach of putting the static parts at the CALL_SITE makes debugging very hard - either way, I di... Constantin Asofiei
04:30 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Code Review ca_upd_20220927a_3821c_14253.zip
I have no objections. Has this been tested with one of the large GUI...
Greg Shah
03:02 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Another update, includes some fixes after testing #6672. Constantin Asofiei
12:07 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
The persistence-related changes in @ca_upd_20220923a_3821c_14253.zip@ look good to me. Eric Faulhaber
02:14 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ens...
Vladimir Tsichevski
02:08 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> No, not yet. I'm hoping to open this up on Thursday.
>
> Before any commit happens, I will ne...
Vladimir Tsichevski
02:07 PM Conversion Tools Feature #6237: OEUnit support
No, not yet. I'm hoping to open this up on Thursday.
Before any commit happens, I will need to see the proposed d...
Greg Shah
02:02 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review strict-junit5.diff
>
> I have no objections except to note that history entries ar...
Vladimir Tsichevski
01:45 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Code Review junit5-custom-engine.zip
>
> Overall, I don't have an objection to the code so far...
Vladimir Tsichevski
01:42 PM Conversion Tools Feature #6237: OEUnit support
Code Review uast-hints-unit-test-type.diff
I don't see any purpose in having @ELEM_UNITTESTTYPE@ and also the @UNI...
Greg Shah
01:37 PM Conversion Tools Feature #6237: OEUnit support
Code Review strict-junit5.diff
I have no objections except to note that history entries are needed.
Greg Shah
01:36 PM Conversion Tools Feature #6237: OEUnit support
Code Review junit5-custom-engine.zip
Overall, I don't have an objection to the code so far. I understand it is ea...
Greg Shah
01:12 PM Conversion Tools Feature #6237: OEUnit support
Please look in your directory and search on @RemoteErrorData@ to see the ACL you must have to ensure access to the ne... Greg Shah
12:58 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Please post your code here.
Done:
@6237-remote-object-problem.diff@
Vladimir Tsichevski
12:38 PM Conversion Tools Feature #6237: OEUnit support
Please post your code here. Greg Shah
12:19 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > And the implementation class @UnitTestServer@
>
> @UnitTestServer@ should not be in packag...
Vladimir Tsichevski
09:38 AM Conversion Tools Feature #6237: OEUnit support
> I mean, if we replace the execution of a method of main by execution of an arbitrary lambda function, the access to... Greg Shah
09:11 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> and I got the error:
>
> [...]
From experiments I learned that some existing re...
Vladimir Tsichevski
12:35 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Igor, how did you ultimately deal with the error handler (@initError@, @checkError@, etc.)? ...
Igor Skornyakov
11:17 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor, how did you ultimately deal with the error handler (@initError@, @checkError@, etc.)? Do any test cases in your... Eric Faulhaber
09:45 AM Database Feature #6582: implement multi-table AdaptiveQuery
I updated the table from #6582-33 with 8 new multi-table queries which are often used in large applications:
* *rang...
Alexandru Lungu

09/26/2022

06:14 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a par...
Vladimir Tsichevski
01:25 PM Conversion Tools Feature #6237: OEUnit support
> If we just replace the call @main.standardEntry()@ by some lambda passed to the method as a parameter, we at least ... Greg Shah
10:57 AM Conversion Tools Feature #6237: OEUnit support
Question: currently a remote instance of @MainEntry@ is not only obtained inside the @ClientCore.start()@, but some m... Vladimir Tsichevski
08:09 AM Conversion Tools Feature #6237: OEUnit support
Not exactly. The conversation thread starts when the session is created with the server. Everything else (steps 1, ... Greg Shah
07:45 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Vladimir Tsichevski wrote:
> > Greg Shah wrote:
> >
> > > > Why do we need another thread?
>...
Vladimir Tsichevski
07:16 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > > Why do we need another thread?
> >
> > It seems incorrec...
Greg Shah
07:10 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
>
> I've been assuming that the JUnit stuff is implicitly batch mode, but perhaps it is possibl...
Marian Edu
06:49 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > Why do we need another thread?
>
> It seems incorrect to "take over" the calling thread to...
Vladimir Tsichevski
05:47 AM Conversion Tools Feature #6237: OEUnit support
> Does that mean we will not use the StandardServer at all?
Maybe. At least @StandardServer.standardEntry()@ is n...
Greg Shah
03:03 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Testing MariaDB UDFs with UNKNOWN arguments/values, finished.
Committed to 6129a/14414 (except @where_clause_pre_p...
Igor Skornyakov
08:05 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Nice catch!
The fix from #6628-153 should be enough. When HQL/FQL are parsed, the LPARENS of the functions are drop...
Ovidiu Maxiniuc
02:10 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
It looks good! Greg Shah
01:34 PM Base Language Feature #1970: improve ControlFlowOps method resolution by reflection
The conversion is in testing and for this test:... Constantin Asofiei

09/24/2022

05:30 AM Database Feature #6582: implement multi-table AdaptiveQuery

|_\13. Iterate all records with NEXT |
|_\2. Test |_\2. 4GL temporary ...
Alexandru Lungu

09/23/2022

03:17 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> I think the way to go is to create a FWD client in-process from the JUnit @TestEngine@ code:
>...
Vladimir Tsichevski
08:55 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> There is no patch posted for the hints changes.
Strangely enough :-(
Vladimir Tsichevski
08:28 AM Conversion Tools Feature #6237: OEUnit support
There is no patch posted for the hints changes. Greg Shah
05:57 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> > For now, just implement the multilevel configuration approach...
Vladimir Tsichevski
02:24 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
That if end of the switch is... Igor Skornyakov
02:07 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> You need the data type of an argument to a UDF, where the argument itself is a UDF, correct?...
Igor Skornyakov
01:47 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
You need the data type of an argument to a UDF, where the argument itself is a UDF, correct?
Two questions:
* L...
Eric Faulhaber
01:24 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Wouldn't
>
> [...]
>
> be more reliable?
@case FUNCTION@ already exists.
Igor Skornyakov
01:03 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Wouldn't... Eric Faulhaber
12:58 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> I've temporary restored rev. 13138 changes to @where_clause_pre_prep.rules@ to run compatib...
Igor Skornyakov
11:11 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I've temporary restored rev. 13138 changes to @where_clause_pre_prep.rules@ to run compatibility tests with nullable ... Igor Skornyakov
01:34 PM Database Feature #6371: implement SAVE CACHE statement
I implemented class unloading through delegates as was suggested in TODO in @AsmClassLoader@.
The code is in 6371a...
Boris Schegolev
10:12 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
The latest update is attached. All projects look OK.
To fix the @p2j.oo@ code, I've analyzed it using a crude spo...
Constantin Asofiei
09:48 AM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
I made a set of tests for multiplex and no-multiplex using indexes.
The tests have the following specifications:
...
Dănuț Filimon

09/22/2022

03:31 PM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> the @ClassLoader@ itself had to be garbage collected
That is correct. We can re-instantia...
Boris Schegolev
03:26 PM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> Class unloading is done (unless I missed something). Unloading the class from JVM itself is...
Eric Faulhaber
03:16 PM Database Feature #6371: implement SAVE CACHE statement
Class unloading is done (unless I missed something). Unloading the class from JVM itself is only done by the Garbage ... Boris Schegolev
11:05 AM Database Bug #6767: Possible name clashes in DMO classes
Here is the list of matching by name methods:... Vladimir Tsichevski
10:16 AM Database Bug #6767: Possible name clashes in DMO classes
Eric Faulhaber wrote:
> To clarify the task, we need to work through all superinterfaces of the @persist.Buffer@ int...
Vladimir Tsichevski
10:11 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've done the same tests for persistent tables and updated #6582-30.
For persistent tables, multi-table @AdaptiveQue...
Alexandru Lungu

09/21/2022

02:01 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Fixed trimming UDFs string arguments for MariaDB.
Committed to 6191a/14412.
All compatibility tests except ones h...
Igor Skornyakov
10:50 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Greg Shah wrote:
> Isn't this just a consequence of the (currently) broken compatibility of using varchar as a datat...
Igor Skornyakov
10:41 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Isn't this just a consequence of the (currently) broken compatibility of using varchar as a datatype for MariaDB? Greg Shah
10:39 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I've experienced the #4551-310 again (the compatibility test for @lengthof@ fails because of the argument trimming).... Igor Skornyakov
12:25 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> For now, just implement the multilevel configuration approach. If it gets to the point where w...
Vladimir Tsichevski
12:24 PM Conversion Tools Feature #6237: OEUnit support
I've created a custom JUnit5 testing engine (see @junit5-custom-engine.zip@).
This is the first version, kind of P...
Vladimir Tsichevski
12:11 PM Conversion Tools Feature #6237: OEUnit support
> If we can define this configuration parameter at any level, using also file and directory hints, then we do not nee... Greg Shah
11:55 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> I think we need to know on a per-file level which unit testing framework is used. This is not ha...
Vladimir Tsichevski
11:28 AM Conversion Tools Feature #6237: OEUnit support
I think we need to know on a per-file level which unit testing framework is used. This is not hard to do. As noted ... Greg Shah
11:15 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
> > So, you propose to pre-scan *all* classes in conversion project ...
Vladimir Tsichevski
08:59 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> So, you propose to pre-scan *all* classes in conversion project to find any @assertXXX@...
Marian Edu
08:44 AM Conversion Tools Feature #6237: OEUnit support
> you propose to pre-scan all classes in conversion project to find any assertXXX statement
This is pretty easy. ...
Greg Shah
08:19 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > So, since neither of these methods is reliable
>
> I real...
Vladimir Tsichevski
08:09 AM Conversion Tools Feature #6237: OEUnit support
> adding implementation for OEUnit Assert in FWD would be the easier path.
We will provide the OEUnit Assert supp...
Greg Shah
07:21 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> So, since neither of these methods is reliable
I really fail to see the issue here...
Marian Edu
12:11 PM Database Feature #6457: finish COPY-LOB support
Stanislav Lomany wrote:
> Do you have any idea what and how 4GL produces?
Try launching the 4GL using @-cpinternal ...
Ovidiu Maxiniuc
01:45 AM Database Feature #6457: finish COPY-LOB support
Stanislav, looking at the @14844588@ value, in hex is e282ac. See this: https://community.progress.com/s/article/P18... Constantin Asofiei
11:10 AM Database Feature #6582: implement multi-table AdaptiveQuery
I've prepared a consistent set of tests, but it seems only some are actually finished in a reasonable time.
|_\2. ...
Alexandru Lungu
04:25 AM Database Feature #6582: implement multi-table AdaptiveQuery
I am close to an end with #6582-27. Only some use cases are left to clear off. Note that I updated #6582-27 to reflec... Alexandru Lungu

09/20/2022

07:24 PM Database Feature #6457 (WIP): finish COPY-LOB support
Guys, I don't quite understand how 4GL produces output. Consider the following UTF-16 output example:... Stanislav Lomany
04:21 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Greg Shah wrote:
> It would be best to avoid such code in our testcases. If you really need something platform spec...
Igor Skornyakov
03:56 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
It would be best to avoid such code in our testcases. If you really need something platform specific, then have a ve... Greg Shah
03:30 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> Set the OS of the sources in @cfg/p2j.cfg.xml@:
> [...]or[...]
Thank you, Ovidiu.
It h...
Igor Skornyakov
03:25 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Set the OS of the sources in @cfg/p2j.cfg.xml@:... Ovidiu Maxiniuc
12:54 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> Igor Skornyakov wrote:
> > A string literal @'a1b123*\{}()1'@ is converted to @new charact...
Igor Skornyakov
12:38 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> A string literal @'a1b123*\{}()1'@ is converted to @new character("a1b123*{}()1")@. What I'...
Ovidiu Maxiniuc
05:44 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
The compatibility test for @matches@ fails for a strange reason.
A string literal @'a1b123*\{}()1'@ is converted to ...
Igor Skornyakov
03:50 PM Database Feature #6371: implement SAVE CACHE statement
I got rid of TODOs in the code and followed some of suggestions above (naming). The new code now only has a TODO for ... Boris Schegolev
11:30 AM Base Language Feature #6772: increase usage of ASSIGN bracketing
Please see #6740 - we had an attempt to lock/unlock the frame for the duration of the widget ASSIGN, but this posed p... Constantin Asofiei
09:33 AM Base Language Feature #6772: increase usage of ASSIGN bracketing
In #6726, we found that a @CREATE <widget> ASSIGN ...@ was being handled with decreased performance because we are no... Greg Shah
09:30 AM Base Language Feature #6772 (New): increase usage of ASSIGN bracketing
Greg Shah
11:29 AM Database Feature #6582: implement multi-table AdaptiveQuery
What can you see in terms of the impact of this refactoring on performance so far, if anything? Eric Faulhaber
07:35 AM Conversion Tools Feature #6237: OEUnit support
> emit a warning and ignore the unit test annotations.
This one.
Greg Shah
05:54 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Vladimir Tsichevski wrote:
>
> > I think, our goal is to have neither original @OEUnit@ nor @...
Vladimir Tsichevski
02:56 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I think, our goal is to have neither original @OEUnit@ nor @ABLUnit@ in the @PROPATH@...
Marian Edu

09/19/2022

06:43 PM Database Bug #6767: Possible name clashes in DMO classes
To clarify the task, we need to work through all superinterfaces of the @persist.Buffer@ interface, along with all th... Eric Faulhaber
09:03 AM Database Bug #6767: Possible name clashes in DMO classes
In DMO classes, getter and setter names are created automatically by conversion, based on the field names which are a... Vladimir Tsichevski
08:12 AM Database Bug #6767 (Review): Possible name clashes in DMO classes
Vladimir Tsichevski
03:15 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Fixed injection of session attributes' values into UDF calls for MariaDB.
Committed to 6129a/14407.
Igor Skornyakov
03:09 PM Database Bug #6703: loading schema table DMO interface with no defined fields
Ovidiu Maxiniuc wrote:
> Constantin, I reviewed it and your fix in 6129a/14273 seems logical.
>
> I also added tw...
Eric Faulhaber
02:52 PM Conversion Tools Bug #6768 (Rejected): End of comment "butted" against double-quote fails to parse
It is already fixed in the latest version of FWD. Greg Shah
01:44 PM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
I updated @uast/comment_test0.p@ to include some additional tests:... Roger Borrello
12:27 PM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
If this isn't an issue in FWD v4, then we can close this. Greg Shah
11:17 AM Conversion Tools Bug #6768: End of comment "butted" against double-quote fails to parse
It was reported that this yields a conversion error (with an older version of FWD):... Roger Borrello
10:28 AM Conversion Tools Bug #6768 (Rejected): End of comment "butted" against double-quote fails to parse
Roger Borrello
02:22 PM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> Greg Shah wrote:
> > Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@...
Vladimir Tsichevski
01:36 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@. Then add an override...
Marian Edu
11:35 AM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> The code is going to be very specific to converted 4GL code so it should be @com.goldencode.p2j.t...
Vladimir Tsichevski
09:26 AM Conversion Tools Feature #6237: OEUnit support
The code is going to be very specific to converted 4GL code so it should be @com.goldencode.p2j.testengine@. Greg Shah
09:20 AM Conversion Tools Feature #6237: OEUnit support
I am implementing a specialized JUnit5 test engine for FWD. The code works, and now I need some permanent Java packag... Vladimir Tsichevski

09/18/2022

05:32 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
More about collation.
At this moment @import.db@ creates MariaDB database with @DEFAULT CHARACTER SET utf8mb4 DEFAUL...
Igor Skornyakov

09/17/2022

09:04 AM Database Bug #6766 (WIP): before-table options not inherited from the after-table (like NO-UNDO, SHARED, etc)
At least the NO-UNDO options needs to be inherited by the before-table, if is set at the after-table.
The other of...
Constantin Asofiei
09:02 AM Database Bug #6766 (WIP): before-table options not inherited from the after-table (like NO-UNDO, SHARED, etc)
Constantin Asofiei
05:22 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> Igor Skornyakov wrote:
> > Adding @indexof(text, text, boolean)@ and @lookup(text, text, b...
Igor Skornyakov
09:40 PM Database Feature #6348: implement support for MariaDB
I have committed r14399/6129a. It contains improved compatibility for sorting NULL high for MariaDb.
Note that, Mari...
Ovidiu Maxiniuc

09/16/2022

05:30 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> Adding @indexof(text, text, boolean)@ and @lookup(text, text, boolean)@ to @Functions@ fixe...
Ovidiu Maxiniuc
11:09 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> It looks that we have problems with conversion of case-sensitive fields for MariaDB. We nee...
Igor Skornyakov
10:59 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
It looks that we have problems with conversion of case-sensitive fields for MariaDB. We need to specify case-sensitiv... Igor Skornyakov
05:15 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> Igor Skornyakov wrote:
> > There is a problem with creation of @SQLWarning@ with MariaDB. ...
Igor Skornyakov
04:48 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> There is a problem with creation of @SQLWarning@ with MariaDB. Unlike PostgreSQL @RAISE NOT...
Igor Skornyakov
01:59 PM Conversion Tools Feature #6237: OEUnit support
> How global parameters in @cfg/p2j.cfg.xml@ do relate to uast hints?
They are read from @UastHints@ as the defau...
Greg Shah
01:16 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@. Then add an override...
Vladimir Tsichevski
11:58 AM Conversion Tools Feature #6237: OEUnit support
Define a global parameter (in @cfg/p2j.cfg.xml@) for @OEUnit@ vs @ABLUnit@. Then add an override in the @UastHints@ ... Greg Shah
11:49 AM Conversion Tools Feature #6237: OEUnit support
We have some difficulty if we are going to implement both @OEUnit@ and @ABLUnit@.
There is a difference in the usa...
Vladimir Tsichevski
09:14 AM Conversion Tools Feature #6237: OEUnit support
Marian Edu wrote:
> this is the only OEUnit I'm aware of - [[https://github.com/CameronWills/OEUnit]]
Yes, I m...
Vladimir Tsichevski
01:55 AM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> So we need to answer the following questions:
>
> # Whether or not and how class-l...
Marian Edu
09:48 AM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
Alexandru Lungu wrote:
> Please consider several "abstract" testcases (eventually with etime) which can show clear t...
Dănuț Filimon
08:36 AM Database Feature #6418: represent extent fields as arrays
The above is my opinion. Eric makes the final decision here. Greg Shah
08:36 AM Database Feature #6418: represent extent fields as arrays
Some things to note:
* Customers hate normalized mode. We should simplify the runtime and get rid of it since the...
Greg Shah
05:16 AM Database Feature #6418: represent extent fields as arrays
A few updates:
* I've tested the correctness of results regarding denormalized extent fields. Out of 108 tests that ...
Radu Apetrii
05:12 AM Database Feature #6695 (WIP): Multi-table preselect query may underperform due to repetitive fetching
Alexandru Lungu
02:26 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> In the latest version (6371a/14102) I removed dependency on @DynamicTablesHelper@ completel...
Eric Faulhaber

09/15/2022

05:21 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I see two problems which I've already seen with native PostgreSQL UDFs:
# We have to use @eq@, @ne@, @le@, ... UDFs...
Igor Skornyakov
05:23 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> what is *not* registered are @indexOf@ and @lookup@ for signatures @[TEXT, TEXT, BOOLEAN]@ ...
Igor Skornyakov
05:01 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I consistently see the following log entries at the end of my UDFs' compatibility test:... Igor Skornyakov
04:21 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> I do not understand. There is nothing particular to those functions. I did a quick test and...
Igor Skornyakov
03:43 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> I will take a closer look tomorrow.
Using a debugger with a breakpoint in the @FqlToSq...
Igor Skornyakov
05:06 PM Conversion Tools Feature #6237: OEUnit support
> # Whether or not and how class-level annotations (@@BeforeClass@, @@AfterClass@) are used in 4gl procedures?
Ass...
Greg Shah
04:41 PM Conversion Tools Feature #6237: OEUnit support
The latest problem reveals that we need to convert 4gl procedure annotation either.
So we need to answer the follo...
Vladimir Tsichevski
04:55 PM Database Feature #6371: implement SAVE CACHE statement
If (better said 'when') we will be able to cache the DMO generated classes we will surely have a boost for the startu... Ovidiu Maxiniuc
04:22 PM Database Feature #6371: implement SAVE CACHE statement
In the latest version (6371a/14102) I removed dependency on @DynamicTablesHelper@ completely. The code compiles, but ... Boris Schegolev
01:24 PM Database Bug #6699 (WIP): TemporaryBuffer$Multiplexer memory leak in global block
There is still a leak in the @TransactionManager$WorkArea.globalBlock.finalizables@. Constantin Asofiei
08:17 AM User Interface Feature #6764: Improve trigger selection for keyboard events.
For keyboard events there is a specific order on which 4GL is looking for the right trigger to fire:
- key label
- ...
Marian Edu
08:15 AM User Interface Feature #6764 (Review): Improve trigger selection for keyboard events.
Marian Edu
07:54 AM Database Feature #6763 (Rejected): implement configurable sizes (in the directory) for FastFindCache and O...
Greg Shah

09/14/2022

03:33 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ovidiu Maxiniuc wrote:
> I do not understand. There is nothing particular to those functions. I did a quick test and...
Igor Skornyakov
03:29 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I do not understand. There is nothing particular to those functions. I did a quick test and the functions are correct... Ovidiu Maxiniuc
02:35 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
In the converted queries there are no 'signature suffix' for @indexOf@ and @lookup@.
Ovidiu, I undestand that the ...
Igor Skornyakov
05:08 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
There is a problem with creation of @SQLWarning@ with MariaDB. Unlike PostgreSQL @RAISE NOTICE@, @SIGNAL SQLSTATE '01... Igor Skornyakov
12:26 PM Conversion Tools Feature #6237: OEUnit support
To add JUnit support to converted projects, the following patch has to be applied to @build.gradle@:... Vladimir Tsichevski
11:29 AM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
Please consider several "abstract" testcases (eventually with @etime@) which can show clear time differences in diffe... Alexandru Lungu
11:12 AM Database Feature #6582: implement multi-table AdaptiveQuery
I committed 6582a/rev. 14164 including all the latest changes done to increase stability of the multi-table @Adaptive... Alexandru Lungu
07:02 AM Base Language Feature #6754: complete BOM support for XmlHelper.readXMLEncoding()
The "BOM":https://en.wikipedia.org/wiki/Byte_order_mark is bypassed in @XmlHelper.readXMLEncoding()@ but not yet hono... Greg Shah
07:00 AM Base Language Feature #6754 (New): complete BOM support for XmlHelper.readXMLEncoding()
Greg Shah

09/13/2022

07:27 PM Database Feature #6457: finish COPY-LOB support
> The BOM handling has a testcase already written. See @testcases/copy_lob/tests/bom.p@.
OK, the first issue I me...
Stanislav Lomany
07:04 AM Database Feature #6457: finish COPY-LOB support
The BOM handling has a testcase already written. See @testcases/copy_lob/tests/bom.p@. Greg Shah
02:22 PM Conversion Tools Feature #6237: OEUnit support
Constantin Asofiei wrote:
> The code previously meant to allow @@LegacyService@ annotation in the 4GL code. Now i...
Vladimir Tsichevski
01:43 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Constantin Asofiei wrote:
> > legacy_services.rules is built to allow @LegacyService@ ...
Constantin Asofiei
01:40 PM Conversion Tools Feature #6237: OEUnit support
Constantin Asofiei wrote:
> legacy_services.rules is built to allow @LegacyService@ annotations written directly in ...
Vladimir Tsichevski
01:16 PM Conversion Tools Feature #6237: OEUnit support
legacy_services.rules is built to allow @LegacyService@ annotations written directly in FWD code - these must be kept... Constantin Asofiei
12:59 PM Conversion Tools Feature #6237: OEUnit support
Constantin Asofiei wrote:
> Regarding 3821c/14239:
> * please format @annotations/unit_test_support.rules@ by inden...
Vladimir Tsichevski
06:10 AM Conversion Tools Feature #6237: OEUnit support
Regarding 3821c/14239:
* please format @annotations/unit_test_support.rules@ by indenting the nested @rules@ tags - ...
Constantin Asofiei
01:49 PM Database Feature #6371: implement SAVE CACHE statement
Ovidiu Maxiniuc wrote:
> Eric Faulhaber wrote:
> > What I am not sure about is from where we gather the legacy info...
Eric Faulhaber
01:27 PM Database Feature #6371: implement SAVE CACHE statement
Eric Faulhaber wrote:
> What I am not sure about is from where we gather the legacy information (i.e., the informati...
Ovidiu Maxiniuc
01:38 AM Database Feature #6371: implement SAVE CACHE statement
Boris Schegolev wrote:
> I updated @DatabaseManager@ to handle registration of the new interface.
I didn't really...
Eric Faulhaber
01:16 PM Database Feature #6582: implement multi-table AdaptiveQuery
The non-scrolling query examples that were working on 3821c are now working properly on 6582a as well. Note that I mo... Alexandru Lungu
10:30 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Any issues coming out of testing? Any headway on the error handling solution? Thanks.
Not...
Igor Skornyakov
10:09 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Any issues coming out of testing? Any headway on the error handling solution? Thanks. Eric Faulhaber
10:16 AM Database Feature #6453 (WIP): temp-table features
Eric Faulhaber

09/12/2022

05:42 PM Conversion Tools Feature #6237: OEUnit support
Conversion of 4gl annotations to JUnit5 Java annotations implemented in 3821c rev. 14239. Vladimir Tsichevski
04:05 PM Database Feature #6371: implement SAVE CACHE statement
I updated @DatabaseManager@ to handle registration of the new interface. I am still working on removal of the last ca... Boris Schegolev
12:27 PM Database Support #6679: H2 general performance tuning
Is the H2 storage engine API implemented in a clean manner or is the storage engine implemented as pieces of code spr... Greg Shah
08:39 AM Database Support #6679: H2 general performance tuning
> I wonder if there is any case in which a physical 4GL user can have multiple transactions to one single temporary t... Greg Shah
08:35 AM Database Support #6679: H2 general performance tuning
Greg Shah wrote:
> Clearly, we cannot move ahead with the new version of H2. At least we cannot without something th...
Alexandru Lungu
05:44 AM Database Support #6679: H2 general performance tuning
Clearly, we cannot move ahead with the new version of H2. At least we cannot without something that changes the perf... Greg Shah
05:24 AM Database Support #6679: H2 general performance tuning
Eric Faulhaber wrote:
> I don't know how the tests were performed for the bottom table, which actually is the more ...
Dănuț Filimon
10:10 AM Database Feature #6348: implement support for MariaDB
I've found the following tool which can be useful - https://www.linuxbabe.com/ubuntu/mysql-mariadb-database-performan... Igor Skornyakov
06:11 AM Database Feature #6348: implement support for MariaDB
Igor Skornyakov wrote:
> It looks that we need to use @timestamp(3)@/@datetime(3)@ instead of @timestamp@/@datetime@...
Ovidiu Maxiniuc
05:07 AM Database Feature #6453: temp-table features
6129a Greg Shah
04:53 AM Database Feature #6453: temp-table features
Ovidiu,
Which branch should I use for this task?
Thank you.
Igor Skornyakov

09/10/2022

04:24 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
I've reviewed @ca_upd_20220909a_3821c_14233.zip@ update (the persistence portions, mostly).
I think overall this l...
Eric Faulhaber

09/09/2022

12:38 PM Base Language Bug #6743: fix GET-SIGNATURE for all parameter modes and types
6129a/14390 fixes TABLE-HANDLE, DATASET, DATASET-HANDLE parameters reported by GET-SIGNATURE.
Other part which I d...
Constantin Asofiei
11:39 AM Base Language Bug #6743: fix GET-SIGNATURE for all parameter modes and types
FWD doesn't report properly the signature; we need to check and fix this for all parameter types, extent, DATASET,DAT... Constantin Asofiei
11:38 AM Base Language Bug #6743 (New): fix GET-SIGNATURE for all parameter modes and types
Constantin Asofiei
12:13 PM Database Bug #6744: rollback when there are catch/finally blocks opening their own transactions
I'm seeing an abend with a customer app where a savepoint is no longer valid (when trying to rollback-/commit-). I'v... Constantin Asofiei
12:08 PM Database Bug #6744 (New): rollback when there are catch/finally blocks opening their own transactions
Constantin Asofiei
12:08 PM Database Feature #6453: temp-table features
Ovidiu Maxiniuc wrote:
> Igor, I think @PRIMARY@ has already been implemented in branch 6129a. I think that is your ...
Igor Skornyakov
12:06 PM Database Feature #6453: temp-table features
Igor, I think @PRIMARY@ has already been implemented in branch 6129a. I think that is your target. Anyway that branch... Ovidiu Maxiniuc
12:30 AM Database Feature #6453: temp-table features
Igor, please see #6453-3 and ask Ovidiu any questions you have. Eric Faulhaber
12:05 PM Database Bug #6699 (Review): TemporaryBuffer$Multiplexer memory leak in global block
The fix for this is in #6641-34, 6129a rev 14388. Constantin Asofiei
10:19 AM Database Bug #6699: TemporaryBuffer$Multiplexer memory leak in global block
Eric Faulhaber wrote:
> Constantin Asofiei wrote:
> > I think I have a better fix for this leak; in @TemporaryBuffe...
Constantin Asofiei
10:19 AM Database Bug #6699: TemporaryBuffer$Multiplexer memory leak in global block
Constantin Asofiei wrote:
> I think I have a better fix for this leak; in @TemporaryBuffer.initialize@ do this:
> [...
Eric Faulhaber
05:49 AM Database Bug #6699: TemporaryBuffer$Multiplexer memory leak in global block
I think I have a better fix for this leak; in @TemporaryBuffer.initialize@ do this:... Constantin Asofiei
10:17 AM Database Feature #6582: implement multi-table AdaptiveQuery
I started using the tests from @uast/adaptive_scrolling@ to test the changes for multi-table @AdaptiveQuery@. Almost ... Alexandru Lungu
06:05 AM Database Feature #6418: represent extent fields as arrays
Small update on this topic: I ran the tests from the previous post, but with a small change regarding the tables. Ins... Radu Apetrii
04:51 AM Database Feature #6348: implement support for MariaDB
It looks that we need to use @timestamp(3)@/@datetime(3)@ instead of @timestamp@/@datetime@ in the tables' DDL for Ma... Igor Skornyakov
02:11 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Eric, I'm attaching the changes directly, please apply them over 3821c/14233 and review the p2j.persist part. Thanks. Constantin Asofiei
01:43 AM Database Bug #6741: Word index support for MariaDB.
Implement word index support for MariaDB using word tables Igor Skornyakov
01:41 AM Database Bug #6741 (New): Word index support for MariaDB.
Igor Skornyakov
01:40 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Eric Faulhaber wrote:
> Is there any value in implementing a @CONTAINS@ UDF? As I recall, we can't fully support the...
Igor Skornyakov
12:46 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Igor Skornyakov wrote:
> Finished port of PostgreSQL UDFs (except ones related to error handling and word tables) to...
Eric Faulhaber
12:23 AM Database Feature #6507: cross-database joins
Greg Shah wrote:
> Is there a reason to implement this for a specific database backend?
Yes. Some databases (e.g....
Eric Faulhaber
11:01 PM Database Support #6679: H2 general performance tuning
Dănuț Filimon wrote:
> Alexandru Lungu wrote:
> > retest the Hotel GUI examples from #6679-21. Check if we have reg...
Eric Faulhaber

09/08/2022

07:24 PM Database Bug #6703 (WIP): loading schema table DMO interface with no defined fields
Constantin, I reviewed it and your fix in 6129a/14273 seems logical.
I also added two changes in 6129a/14387:
* @...
Ovidiu Maxiniuc
12:58 PM User Interface Bug #6740: re-enable FRAME_LOCK in annotations/embedded_attribute_assign_rewrite and determine wh...
In #6726, it was measured ~10k calls of @LT.flushEnqueuedWidgetAttrs@. Some of these calls are part of a @CREATE <wi... Constantin Asofiei
12:55 PM User Interface Bug #6740 (New): re-enable FRAME_LOCK in annotations/embedded_attribute_assign_rewrite and determ...
Constantin Asofiei
10:13 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Eric Faulhaber wrote:
> Code Review scopeable_6650_patch_20220901a.patch:
>
> I did not find a revised patch with...
Eric Faulhaber
10:38 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
Code Review scopeable_6650_patch_20220901a.patch:
I did not find a revised patch with the #6650-14 changes after G...
Eric Faulhaber
03:37 AM Conversion Tools Feature #6237: OEUnit support
I always use the @String@ methods directly (@equals()@ or @equalsIgnoreCase()@). Even if we did implement string con... Greg Shah

09/07/2022

04:16 PM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
Eric Faulhaber wrote:
> I thought this naming convention was just for the DMO interfaces. When did we start using th...
Ovidiu Maxiniuc
03:52 PM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
Ovidiu Maxiniuc wrote:
> We are already forced to use a naming schema for temp-tables as @<converted-original-name...
Eric Faulhaber
01:52 PM Database Support #6713: check if it is faster to use separate temp-table instances instead of multiplex id
The investigation should take into account that, beside the expected direct SQL internal benefits, should also includ... Ovidiu Maxiniuc
02:58 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Finished port of PostgreSQL UDFs (except ones related to error handling and word tables) to MariaDB.
Committed to 61...
Igor Skornyakov
02:02 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> In TRPL, are we mapping @annoName == "Before"@ to @String.equalsIgnoreCase()@?
I did not know th...
Vladimir Tsichevski
01:40 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> Greg Shah wrote:
>
> >
> > Does this make sense?
>
> If I get it right, then:
...
Greg Shah
01:39 PM Conversion Tools Feature #6237: OEUnit support
In TRPL, are we mapping @annoName == "Before"@ to @String.equalsIgnoreCase()@? If not then shouldn't we do that expl... Greg Shah
01:38 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
>
> Does this make sense?
If I get it right, then:
# We can execute on the server side an...
Vladimir Tsichevski
12:52 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > The question is in which module this javaName is assigned? It would be better to calculate the ...
Vladimir Tsichevski
12:48 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> Please rename both @oeunit.rules@ files to @unit_test_support.rules@. Remember that we are imple...
Vladimir Tsichevski
12:35 PM Conversion Tools Feature #6237: OEUnit support
Vladimir: Please post questions or comments here. As a next step, I'd like to see the proposed design of the @Remote... Greg Shah
12:29 PM Conversion Tools Feature #6237: OEUnit support
Please rename both @oeunit.rules@ files to @unit_test_support.rules@. Remember that we are implementing support for ... Greg Shah
12:27 PM Conversion Tools Feature #6237: OEUnit support
Vladimir Tsichevski wrote:
> I suppose, the Java method, produced by conversion of a 4gl class, must be called in so...
Greg Shah
11:56 AM Conversion Tools Feature #6237: OEUnit support
> The question is in which module this javaName is assigned? It would be better to calculate the correct value for th... Greg Shah
01:25 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
> Greg: I haven't yet decoupled TransactionManager from the direct references to BufferManager/LogicalTerminal, I'll ... Greg Shah
09:43 AM Database Feature #6418: represent extent fields as arrays
I've done some more testing, this time regarding the SQLs for three different approaches of storing an extent field a... Radu Apetrii
09:37 AM Conversion Tools Bug #6738: incremental conversion when deleting program or class files
Allow incremental conversion to detect program or class files which have been deleted, and cleanup after it (includin... Constantin Asofiei
09:36 AM Conversion Tools Bug #6738 (Closed): incremental conversion when deleting program or class files
Constantin Asofiei
09:25 AM Database Support #6679: H2 general performance tuning
Alexandru Lungu wrote:
> retest the Hotel GUI examples from #6679-21. Check if we have regressions with prepared sta...
Dănuț Filimon
02:09 AM Database Support #6679: H2 general performance tuning
Eric Faulhaber wrote:
> Is this something which is fixed with the patched v214?
No, this is related to the FWD ...
Dănuț Filimon

09/06/2022

02:34 PM Database Support #6679: H2 general performance tuning
I'm trying to use H2 v214 to see if it still shows a memory leak I see when running a converted application with v200... Eric Faulhaber
10:15 AM Database Support #6679: H2 general performance tuning
Some things to note for your testing:
* We do not use persistent tables with H2 for customer applications. All use...
Eric Faulhaber
09:56 AM Database Support #6679: H2 general performance tuning
Alexandru Lungu wrote:
> retest 2.1.210 (and eventually 2.1.212 and 2.1.214) with one-by-one strategy. Check if we s...
Dănuț Filimon
02:25 PM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
The latest patch is attached, built on top of 3821c/14225. I need to finish testing with other apps, there is an iss... Constantin Asofiei
08:53 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
There is an inherent feature of @ScopedDictionary@, where 'global' scope is used: this is not something created by th... Constantin Asofiei
11:55 AM Conversion Tools Feature #6237: OEUnit support
I suppose, the Java method, produced by conversion of a 4gl class, must be called in some special way? Vladimir Tsichevski
11:35 AM Conversion Tools Feature #6237: OEUnit support
Now that I have all Junit5 annotations in place, I have another problem when I try to run the @SimpleTest@ class as J... Vladimir Tsichevski
11:26 AM Database Feature #6582: implement multi-table AdaptiveQuery
Alexandru Lungu wrote:
in my mind, the "dynamic mode" is still initially represented by the CompundQuery b...
Alexandru Lungu
11:24 AM Database Feature #6695: Multi-table preselect query may underperform due to repetitive fetching
- removed the comment -
It was meant to be posted in #6582
Alexandru Lungu

09/05/2022

06:27 PM Conversion Tools Feature #6237: OEUnit support
I've added support for JUnit 5 annotations generation from OEUnit annotations.
3 things changed:
# Code which d...
Vladimir Tsichevski
02:25 PM Conversion Tools Feature #6237: OEUnit support
The question is in which module this @javaName@ is assigned? It would be better to calculate the correct value for th... Vladimir Tsichevski
02:22 PM Conversion Tools Feature #6237: OEUnit support
Greg Shah wrote:
> > What am I doing wrong here? I know setting text works on the copy:
>
> The problem is subtle...
Vladimir Tsichevski
02:28 AM Conversion Tools Feature #6237: OEUnit support
> The first will be called from "annotations.xml", and do Java annotations preparation, the second will be called fro... Greg Shah
02:27 AM Conversion Tools Feature #6237: OEUnit support
> What am I doing wrong here? I know setting text works on the copy:
The problem is subtle. The @setText()@ you a...
Greg Shah
04:21 PM Database Feature #6371: implement SAVE CACHE statement
It is not ideal to use @DynamicTablesHelper@ (in its current form) to create persistent table DMO interfaces/classes.... Eric Faulhaber
03:47 PM Database Support #6679: H2 general performance tuning
Alexandru Lungu wrote:
> [...]
Thank you for the explanation.
> I will update Performance_Testing_the_H2_Datab...
Eric Faulhaber
12:12 PM Database Support #6679: H2 general performance tuning
The tests from our current Performance_Testing_the_H2_Database are decent for 1.4.200, but are no quite accurate for ... Alexandru Lungu
10:31 AM Database Support #6679: H2 general performance tuning
Dănuț Filimon wrote:
> Eric Faulhaber wrote:
> > Dănuț Filimon wrote:
> > > Committed fwd-h2/rev.9. I applied a fe...
Eric Faulhaber
09:46 AM Database Support #6679: H2 general performance tuning
Eric Faulhaber wrote:
> Dănuț Filimon wrote:
> > Committed fwd-h2/rev.9. I applied a few changes from versions 2.1....
Dănuț Filimon
02:22 PM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
Ported the following UDF: ... Igor Skornyakov
03:55 AM Database Feature #6628: port PostgreSQL native user defined functions to MariaDB
I was thinking about error handling support ('guarded' UDFs) for MariaDB.
It looks that it can be implemented using ...
Igor Skornyakov
04:28 AM Database Feature #6418: represent extent fields as arrays
> The question I would like to ask is: Is there any reason why normalized is preferred over denormalized, since the l... Greg Shah
02:58 AM Database Feature #6418: represent extent fields as arrays
I have tested these two methods of representing extent fields (normalized and denormalized) over a series of tests an... Radu Apetrii
04:22 AM Base Language Feature #6650: improve performance of Scopeable notification in TM.processScopeNotifications
I think you can go ahead and check in your first pass changes from #6650-14. Or did you plan to check it in with the... Greg Shah
01:57 AM Database Feature #2137: runtime support for FIELDS/EXCEPT record phrase options
I was in a session the other day which was offered at the PUG Challenge 2022. This was presented by Gus, who designe... Greg Shah
 

Also available in: Atom