aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mssqlnative.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11015] Remove old dbal classesIgor Wiedler2012-11-121-19/+0
| | | | PHPBB3-11015
* [ticket/11015] Add BC files for the driversIgor Wiedler2012-07-211-0/+19
| | | | PHPBB3-11015
* [ticket/11015] Make DBAL classes autoloadableIgor Wiedler2012-07-211-644/+0
| | | | | | | | PHPBB3-11015 This allows us to just create the object without having to include the driver first. However, it also means that users must specify the full class name in config.php
* Merge branch 'develop-olympus' into developAndreas Fischer2012-07-171-1/+1
|\ | | | | | | | | * develop-olympus: [ticket/10995] Return false in mssqlnative sql_fetchrow on empty result
| * [ticket/10995] Return false in mssqlnative sql_fetchrow on empty resultPatrick Webster2012-07-171-1/+1
| | | | | | | | PHPBB3-10995
* | [ticket/10942] Add access modifiersJoas Schilling2012-07-041-1/+1
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Require same data type and do not cast expressions automaticallyJoas Schilling2012-07-021-13/+0
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Add a comment why we cast to sql_case()Joas Schilling2012-06-201-0/+1
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Rename method sql_conditional() to sql_case()Joas Schilling2012-06-201-6/+6
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Change term string to expression to avoid confusionJoas Schilling2012-06-201-2/+2
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Fix sql_conditional for mssql, postgre and oracleJoas Schilling2012-06-201-0/+12
| | | | | | | | PHPBB3-10942
* | [ticket/10942] Add sql_concatenate to dbalJoas Schilling2012-06-201-0/+8
| | | | | | | | PHPBB3-10942
* | Merge branch 'develop-olympus' into developNils Adermann2012-05-311-0/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | By Andreas Fischer via Andreas Fischer (1) and Nils Adermann (1) * develop-olympus: [ticket/10751] Use sql_lower_text() in view_log(). log_data is a text column. [ticket/10751] Add sql_lower_text() to database abstraction layer. Conflicts: phpBB/includes/db/dbal.php
| * [ticket/10751] Add sql_lower_text() to database abstraction layer.Andreas Fischer2012-05-311-0/+8
| | | | | | | | | | | | | | | | On MSSQL, LOWER() can only be called on bounded strings (i.e. varchar or char). So, in order to use it on a text column, we have to convert it to an appropriate type. We do so using the SUBSTRING function. PHPBB3-10751
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-05-091-18/+0
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10858] Move generic row seeking to DBAL [ticket/10858] Tests for row seeking with fetchfield() [ticket/10858] Fix MSSQL Native's row seeking behavior Conflicts: tests/dbal/select_test.php
| * [ticket/10858] Move generic row seeking to DBALPatrick Webster2012-05-081-43/+0
| | | | | | | | | | | | Removed from: firebird, mssql_odbc, and mssqlnative PHPBB3-10858
| * [ticket/10858] Fix MSSQL Native's row seeking behaviorPatrick Webster2012-05-081-3/+28
| | | | | | | | | | | | The result_mssqlnative class remains in case someone wants to use it PHPBB3-10858
* | [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | | | | | PHPBB3-9916
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-09-061-1/+1
|\ \ | |/ | | | | | | | | | | * develop-olympus: [ticket/10352] Add missing break for Oracle's sql_table_drop() [ticket/10351] Fix Oracle's sql_column_remove() [ticket/10294] Fix sql_affectedrows() in mssqlnative driver.
| * [ticket/10294] Fix sql_affectedrows() in mssqlnative driver.Andreas Fischer2011-07-281-1/+1
| | | | | | | | | | | | sqlsrv_rows_affected() expects a statement resource, not a connection resource. PHPBB3-10294
* | Merge branch 'develop-olympus' into developAndreas Fischer2011-06-021-1/+1
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/9685] Test for databases that are able to nest transactions [ticket/9685] Consistently name the new sql_buffer_nested_transactions function
| * [ticket/9685] Consistently name the new sql_buffer_nested_transactions functionNils Adermann2011-06-021-1/+1
| | | | | | | | PHPBB3-9685
* | Merge branch 'develop-olympus' into developIgor Wiedler2011-03-311-1/+1
|\ \ | |/ | | | | | | * develop-olympus: [ticket/10112] Replaced a couple occurrences of count() with sizeof()
| * Merge remote branch 'callumacrae/ticket/10112' into develop-olympusIgor Wiedler2011-03-311-1/+1
| |\ | | | | | | | | | | | | * callumacrae/ticket/10112: [ticket/10112] Replaced a couple occurrences of count() with sizeof()
| | * [ticket/10112] Replaced a couple occurrences of count() with sizeof()Callum Macrae2011-03-301-1/+1
| | | | | | | | | | | | | | | | | | As per the coding guidlines, sizeof() should be used instead of count(). PHPBB3-10112
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-03-151-1/+9
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/9685] Buffer posts for search indexing when using mssqlnative.
| * | [ticket/9685] Buffer posts for search indexing when using mssqlnative.Nils Adermann2011-03-151-1/+9
| |/ | | | | | | | | | | | | | | To have a generic solution there is now a sql_buffer_nested_transaction() which indicates that the given SQL driver requires buffering to run a transaction while iterating over another result set. PHPBB3-9685
* | [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
|/ | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* Merge branch 'task/naderman/mssql-db-tests' into develop-olympusAndreas Fischer2010-11-031-6/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | * task/naderman/mssql-db-tests: [task/mssql-db-tests] Remove MS SQL helper values from SELECT LIMIT results. [task/mssql-db-tests] Split up database tests into SELECT and write operations [task/mssql-db-tests] PHPUnit output got stuck after unterminated ob_start. [task/mssql-db-tests] sql_query_limit must return all results when total = 0 [task/mssql-db-tests] Add support for odbc & sqlsrv PDO test connections [task/mssql-db-tests] Refactored getConnection into multiple smaller parts. [task/mssql-db-tests] Allow test configuration with environment variables. [task/mssql-db-tests] No longer display an error when skipping db tests. [task/mssql-db-tests] Use a simple getter for test case helpers.
| * [task/mssql-db-tests] Remove MS SQL helper values from SELECT LIMIT results.Nils Adermann2010-10-251-1/+6
| | | | | | | | PHPBB3-9868
| * [task/mssql-db-tests] sql_query_limit must return all results when total = 0Nils Adermann2010-10-251-5/+14
| | | | | | | | PHPBB3-9868
* | [ticket/9686] Fix mssqlnative database data exportNils Adermann2010-10-251-5/+15
|/ | | | | | | | | We require version 1.1 of the sqlsrv extension anyway so the regular sqlsrv_num_rows can be used instead of buffering the result. The result buffer (class result_mssqlnative) should never automatically free the resource it receives - we consistently close resources using sql_freeresult(). PHPBB3-9686
* [ticket/9039] Make mssqlnative.php non-executableIgor Wiedler2010-09-031-0/+0
| | | | PHPBB3-9039
* Merge branch 'ticket/kellanved/9521' into develop-olympusAndreas Fischer2010-07-311-1/+7
|\ | | | | | | | | * ticket/kellanved/9521: [ticket/9521] Fix error reporting for the native SQL Server plugin.
| * [ticket/9521] Fix error reporting for the native SQL Server plugin.Henry Sudhof2010-07-311-1/+7
| | | | | | | | | | | | | | | | | | The native SQL Server plugin used to return an error string when calling sql_error. However, some error condition checks are done using is_array. This patch wraps the error into an array to follow the error logic used elsewhere. PHPBB3-9521
* | [ticket/9637] Do not cache SQL server version in all casesJosh Woody2010-07-111-3/+4
|/ | | | | | | | | | | Because the existing cache is global, there is no way to differentiate between each of two databases which may be two different DBAL objects pointing to servers with wildly different versions of an RDBMS. phpBB only has this situation in the UCF, thus only one file changed outside the DBAL. I have added a second optional parameter, $use_cache to each of the implementations of dbal::sql_server_info() PHPBB3-9637
* Forgot to properly update the file header of mssqlnative.php, revising ↵Nils Adermann2010-02-111-2/+4
| | | | | | r10489 [Bug #57055] git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10490 89ea8834-ac86-4346-8a33-228a782c2dd0
* Support for Microsoft's Native SQL Server Driver for PHP - Patch by Chris ↵Nils Adermann2010-02-111-0/+608
Pucci at Microsoft [Bug #57055] If you are using SQL Server, please try to test this new dbal so we can safely include it in 3.0.8. If you want to try it on a current phpBB version you can apply the latest version of the patch to your board which you can find attached to the bug tracker ticket (look in the comments for the latest version, the one in the ticket itself is outdated): http://www.phpbb.com/bugs/phpbb3/ticket.php?ticket_id=57055 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10489 89ea8834-ac86-4346-8a33-228a782c2dd0