Closed rourke750 closed 8 years ago
Been a while since I made a plug, but -- reason #9281 to switch to PostGreSQL: INSERT ... RETURNING; -- http://www.postgresql.org/docs/8.2/static/sql-insert.html
No comparable in Mysql/MariaDB.
The change you're scoping is best for what we have now though, A+.
Postgre is clearly the future but we don't have the man power to port everything so soon. On Dec 2, 2015 10:49 AM, "Daniel Boston" notifications@github.com wrote:
Been a while since I made a plug, but -- reason #9281 to switch to PostGreSQL: INSERT ... RETURNING; -- http://www.postgresql.org/docs/8.2/static/sql-insert.html
No comparable in Mysql/MariaDB.
The change you're scoping is best for what we have now though, A+.
— Reply to this email directly or view it on GitHub https://github.com/Civcraft/Citadel/issues/150#issuecomment-161361475.
Change insert_rein to a procedure and get the rein_id from the resultset instead of how the system is now.