Felix Moeller
|
30d7993e01
|
Checkstyle fixes: NoSpaceAfterComma
|
13 years ago |
Felix Moeller
|
afadf93d31
|
Checkstyle: many fixes
|
13 years ago |
Bart Visscher
|
4af5b016cc
|
Whitespace cleanup
|
13 years ago |
Bart Visscher
|
351f724193
|
whitespace fixes
|
13 years ago |
Björn Schießle
|
2bd4035076
|
$CONFIG_DBTYPE was never assigned but used in this function
|
13 years ago |
Jörn Friedrich Dreyer
|
dc116b994d
|
reenable hack to use CURRENT_TIMESTAMP for postgresql when creating the database, fixes oc-1852
TODO for OC5: use CURRENT_TIMESTAMP for all databases. mysql supports it as a default for DATETIME since 5.6.5 [1]
as a fallback we could use <default>0000-01-01 00:00:00</default> everywhere
[1] http://bugs.mysql.com/bug.php?id=27645
http://dev.mysql.com/doc/refman/5.0/en/timestamp-initialization.html
http://www.postgresql.org/docs/8.1/static/functions-datetime.html
http://www.sqlite.org/lang_createtable.html
http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions037.htm
|
13 years ago |
Robin Appelman
|
f71f731f1c
|
fix phpdoc and handle some edges cases better in oc_db
|
13 years ago |
Lukas Reschke
|
80aa44565b
|
Sanitize user input
|
13 years ago |
Jörn Friedrich Dreyer
|
59a00f95c3
|
use AL32UTF8 charset to connect to oracle, fixes file name encoding problems
|
13 years ago |
Jörn Friedrich Dreyer
|
9da150cd3b
|
use user name as db name for oracle connection made with service name
|
13 years ago |
Jörn Friedrich Dreyer
|
d3553ce33d
|
correctly calculate the MDB2 portability
|
13 years ago |
Jörn Friedrich Dreyer
|
c7054f374c
|
log details for an error when upgrading the schema
|
13 years ago |
Jörn Friedrich Dreyer
|
e31dfb643a
|
add getErrorMessage to OC_DB
|
13 years ago |
Thomas Mueller
|
3829460ab8
|
adding space between) and {
|
13 years ago |
Bart Visscher
|
5e55b4d6e7
|
Whitespace fixes in lib
|
13 years ago |
Thomas Müller
|
24977d0fd0
|
Respect coding style
|
13 years ago |
Robin Appelman
|
3c784ede83
|
use str_ireplace instead of duplicate str_replace
|
13 years ago |
Robin Appelman
|
828ca2ba36
|
translate UNIX_TIMESTAMP() into sqlite and pgsql equivilents
|
13 years ago |
Robin Appelman
|
6d48f3fab8
|
we still need this for pgsql
|
13 years ago |
Bart Visscher
|
db18218a1b
|
Space before tab fixes
|
13 years ago |
Bart Visscher
|
52f2e7112e
|
Whitespace fixes in lib
|
13 years ago |
Jörn Friedrich Dreyer
|
3b83c7fa74
|
update now(), current_timestamp and backtick replacement
|
13 years ago |
jfd
|
379f27ed03
|
fix missing $
|
13 years ago |
Jörn Friedrich Dreyer
|
fa3497f6ed
|
add backticks to SQL, use limit parameter instead of LIMIT SQL
|
13 years ago |
Jörn Friedrich Dreyer
|
e13f381189
|
add limit support to OC_DB & OCP/DB
|
13 years ago |
Jörn Friedrich Dreyer
|
795e78809f
|
add oracle to install & setup
|
13 years ago |
Georg Ehrke
|
16928f4d59
|
fix spelling fail
|
13 years ago |
Robin Appelman
|
856d9c0b54
|
some indention fixes
|
13 years ago |
Robin Appelman
|
48306a3c4f
|
fix unused variables
|
13 years ago |
Brice Maron
|
3b09aa8578
|
Correct Postgresql connection with space in password. Work around php bug
|
13 years ago |
Tom Needham
|
b2cb7d54d1
|
Fixed app path
|
13 years ago |
Frank Karlitschek
|
a4c47c674d
|
write sql errors into the error log for better debugging
|
13 years ago |
Brice Maron
|
b5e3e150eb
|
Correction of path looking for apps and css
|
13 years ago |
Michael Gapczynski
|
e8dd86ce0d
|
Revert "Set default charset to utf-8."
This reverts commit 709dbd82a6 .
|
13 years ago |
Thomas Tanghus
|
709dbd82a6
|
Set default charset to utf-8.
|
13 years ago |
Frank Karlitschek
|
a945fa10a6
|
update copyright
|
13 years ago |
Robin Appelman
|
aac9629e88
|
add support for custom ports for mysql/pgsql by adding :portnumber to the database host
|
13 years ago |
Robin Appelman
|
8d475debe0
|
additional logging when db upgrade fails
|
13 years ago |
Brice Maron
|
5b7c69f978
|
Change sqlite escaping of identifier to double quote. Fixing some issues
|
13 years ago |
Bart Visscher
|
402c6da968
|
Typo fix (breif->brief)
|
13 years ago |
Bart Visscher
|
4976daca7a
|
Fix default database type string
|
13 years ago |
Robin Appelman
|
721311c909
|
some minor optimizations
|
13 years ago |
Grundik
|
7e7de25710
|
UTF8 locale by default
|
13 years ago |
Tom Needham
|
eba6a65908
|
try to use transactions to replace db
|
13 years ago |
Georg Ehrke
|
e5c009599d
|
remove check for variable which was set one line above - bugfix for oc-324
|
13 years ago |
Tom Needham
|
514c9ad8e7
|
Added unified import method.
|
13 years ago |
Tom Needham
|
86fed4c226
|
Update database.xml locations. Fix dbexport.xml.
|
13 years ago |
Tom Needham
|
9c79de4aa0
|
removed duplicate function
|
13 years ago |
Tom Needham
|
33c5b3a2ef
|
Added replaceDB method in lib/db.php
|
13 years ago |
Robin Appelman
|
de37bafa5c
|
use in-memory files for the datase scheme during installation
|
13 years ago |