mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-23 16:11:41 +02:00
2021-08-17 Fred Gleason <fredg@paravelsystems.com>
* Added disambiguation info regarding apostrophes vs. backticks to the 'SQL STATEMENTS' section of 'CODINGSTYLE'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
8387805b72
commit
b7e264ef04
@ -179,7 +179,8 @@ SQL STATEMENTS:
|
|||||||
When embedding SQL statements in code, the following guidelines should be
|
When embedding SQL statements in code, the following guidelines should be
|
||||||
followed:
|
followed:
|
||||||
|
|
||||||
1) All identifier fields should be enclosed in backtick characters.
|
1) All identifier fields should be enclosed in backticks (ASCII 0x2C)
|
||||||
|
characters (NOT to be confused with apostrophes, see below).
|
||||||
|
|
||||||
Good:
|
Good:
|
||||||
sql="select `FIELD1`,`FIELD2` from `MY_TABLE` where `ID`=2";
|
sql="select `FIELD1`,`FIELD2` from `MY_TABLE` where `ID`=2";
|
||||||
|
@ -22298,3 +22298,6 @@
|
|||||||
* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
|
* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
|
||||||
Configurations' dialog that caused corruption of dropbox
|
Configurations' dialog that caused corruption of dropbox
|
||||||
settings.
|
settings.
|
||||||
|
2021-08-17 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added disambiguation info regarding apostrophes vs. backticks
|
||||||
|
to the 'SQL STATEMENTS' section of 'CODINGSTYLE'.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user