Commit Graph

44 Commits (4c9c73bef925d41d8bc9f39f4365c34d794ab86a)

Author SHA1 Message Date
Jenkins for ownCloud b585d87d9d Update license headers 10 years ago
Thomas Müller 89be55a672 let insertIfNotExist() throw the native DBALException - no need to hide the real exception 10 years ago
Joas Schilling 8fa692388b Allow specifying the compare-array for insertIfNotExists() 10 years ago
Morris Jobke 06aef4e8b1 Revert "Updating license headers" 10 years ago
Jenkins for ownCloud 6a1a4880f0 Updating license headers 10 years ago
Robin Appelman 778d8dbafd Add tableExists to public db api 10 years ago
Robin Appelman 8af3991d0c Add dropTable to IDBConnection 10 years ago
Joas Schilling e1f3abf7a5 Correctly namespace and autoload DatabaseException 10 years ago
Dan Bartram 9c1015b790 Add missing DB rollback functionality 11 years ago
Robin Appelman e6f6cdd19f Bit more cleanup 11 years ago
Robin Appelman 2ae6a0d96d Move creating the database connection to the server container 11 years ago
Robin Appelman d4e929c37a Remove implicit prepared statement cache and get the connection from the server container in \OC_DB 11 years ago
Robin Appelman 2790bda4f8 Activate the query logger on connect 11 years ago
Duane Johnson ccf440495e Ensure db connection before changing cache state 11 years ago
Vincent Petry 10a29556b0 - Added test to trigger index id error 11 years ago
Andreas Fischer 9db0a82a26 We obviously have to pass the hostname as is when there is no ':' in the hostname. 11 years ago
Andreas Fischer 73062040e6 Don't specify host when using a socket. 11 years ago
Andreas Fischer 0932760304 Rename variable to indicate that it can be port and socket. 11 years ago
Andreas Fischer 3d8eabedbd No need to check the port number as this will fail anyway. 11 years ago
Andreas Fischer 4ca1e3cc02 Move getValue() to where required. This actually is not required "global data". 11 years ago
Andreas Fischer 17c2e63449 Move check for : to where it belongs, getting rid of $socket = false; 11 years ago
Andreas Fischer 4b87586487 Extract common variables of $connectionParams. 11 years ago
Andreas Fischer 6da2beeaff Inline $port expression, getting rid of $port variable. 11 years ago
josh4trunks 1b02991a1d Fixes based on suggestions 11 years ago
josh4trunks ea162c8a39 Fix variable not always being defined. 11 years ago
josh4trunks e77c9bb97e Work with MySQL Sockets 11 years ago
Vincent Petry d4ffafe467 Removed simulate db update flag and split into separate methods 11 years ago
Vincent Petry 5b97369b00 Simulate apps database schema update on upgrade 11 years ago
Thomas Müller 999f6216dc - fix dropTable() and introduce tableExists() 11 years ago
Morris Jobke dc36d30953 Remove all occurences of @brief and @returns from PHPDoc 11 years ago
Robin McCorkell 87b548ed91 Fix all PHPDoc types and variable names, in /lib 11 years ago
Andreas Fischer f9853b253c Deduplicate connection handling code into \OC\DB\ConnectionFactory 11 years ago
Bart Visscher 35a8dfb2fa More PHPDoc fixes, using scrutinizer patches as hints 11 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 11 years ago
Jörn Friedrich Dreyer 2a6a9a8cef polish documentation based on scrutinizer patches 11 years ago
Andreas Fischer cdd182ce35 Send "SET NAMES utf8" to MySQL for PHP below 5.3.6 11 years ago
Bart Visscher 9adff4f7f5 Change OC_Migrate from MDB2 to Doctrine 11 years ago
Thomas Müller 9c9dc276b7 move the private namespace OC into lib/private - OCP will stay in lib/public 12 years ago
Bart Visscher 55efe1e56c Fix insert/update/delete helper functions for oracle 12 years ago
Andreas Fischer 786017c247 Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc. 12 years ago
Andreas Fischer 7f07d737f8 Create instance of Doctrine\Common\EventManager() in OC_DB. 12 years ago
Bart Visscher a0b7bf78a6 Remove disconnect function from OC_DB 12 years ago
Bart Visscher d563367b0f More style fixes 12 years ago
Bart Visscher 2cc94cbc73 Style fixes 12 years ago
Bart Visscher fd317f599b Simplify OC_DB transaction functions 12 years ago
Bart Visscher 5ffb8fac24 Use function to create schema manager 12 years ago
Bart Visscher 59c5529a2b Rename \OC\DB\Schema to \OC\DB\MDB2SchemaManager 12 years ago
Bart Visscher 9432885428 Change OC_DB_Schema to use DI for db connection object 12 years ago
Jörn Friedrich Dreyer 05fa55f2eb always return int 12 years ago
Bart Visscher d7916363e1 Make DB connection available to use for dependency injection 12 years ago