mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-22 15:41: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
|
||||
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:
|
||||
sql="select `FIELD1`,`FIELD2` from `MY_TABLE` where `ID`=2";
|
||||
|
@ -22298,3 +22298,6 @@
|
||||
* Fixed a regression in rdadmin(1) the 'Rivendell Dropbox
|
||||
Configurations' dialog that caused corruption of dropbox
|
||||
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