 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
[11.1.125 Pro] - BUG: Formatting operators (MariaDB) |
|
When formatting code in MariaDB, the assignment operator := gets its parts separated, thus
 |
 |
SET `lv_reply_to_caller` := 111;
|
becomes
 |
 |
SET `lv_reply_to_caller` : = 111; -- surplus space between : and =
|
resulting in a syntax error.
|
|
Wed May 06, 2020 1:47 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I believe this has been fixed in version 11.2.x which is not yet released. I tested with a couple of very simple procedures and it formatted the code correctly without adding extra spaces within unary operators and assignments.
|
|
Wed May 06, 2020 2:35 pm |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
Great news! Can you provide an ETA for that version?
|
|
Thu May 07, 2020 5:50 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
Version 11.2 is now available
|
|
Mon Jun 29, 2020 8:17 pm |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
Still happens in [11.2.246 Pro].
|
|
Thu Jul 09, 2020 10:54 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
I'm not able to reproduce it. Is there any specific context in which I need to try it?

|
|
Thu Jul 09, 2020 2:33 pm |
|
 |
gemisigo
Joined: 11 Mar 2010 Posts: 2165
|
|
|
|
No, nothing special. I've tried it with Operators Spacing set to Don't Modify, Compact, and Space Before and After Operator. None of those helped, there was always something wrong with them.
Check this short video here.
|
|
Mon Jul 13, 2020 6:49 am |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7948
|
|
|
|
We have tried it on multiple test systems and still unable to reproduce it. The team says they cannot fix it as they don't know what's wrong with it, and unable to debug it, not being able to reproduce the same result with MariaDB. I'm now asking them to try with PostgreSQL and -> operators.
|
|
Fri Nov 27, 2020 1:07 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|