Make selectRowCount() (hopefully) work in MSSQL.
authorBrian Wolff <bawolff+wn@gmail.com>
Mon, 13 Mar 2017 04:29:43 +0000 (04:29 +0000)
committerUmherirrender <umherirrender_de.wp@web.de>
Wed, 15 Mar 2017 17:27:02 +0000 (17:27 +0000)
commit70cd7dd7129da8a9d5c00e44d609d4c054ece101
treeb2fcef50cc0dcdaea34e46dce732f8f3fd919df7
parent945aeb76dae03fb1d77f02479bcbc141754bcf05
Make selectRowCount() (hopefully) work in MSSQL.

Make table and column aliases be quoted identifiers. This
is needed for MSSQL (rowcount is a reserved word), and is
generally just a good idea.

I have tested this on MySql and SQLite. I don't have
MSSQL installed to test on.

Bug: T158766
Change-Id: Ic63f63d208ba6ad15e77eb634e94855ee2728d05
includes/libs/rdbms/database/Database.php