Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
CI_DB_driver->simple_query() to check initialize() return value
|
|
|
|
|
|
This reverts commit 7cc6cea2d421862726081a39e932dbceeefcc775
from PR #3968.
At the time this seemed logical, but turns out it breaks the
ability to create non-PRIMARY composite keys, so ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reported via the forums: http://forum.codeigniter.com/thread-61494.html
|
|
The issue description is about update_string(), which
I'm not sure if can be fixed at all. This patch only
addresses protect_identifiers().
|
|
|
|
Partial changes from PR #4016
|
|
|
|
The issue described in #3989 is actually the opposite of what has beent
the intended behavior for the parameter in all Query Builder
methods. Unfortunately, there's been a huge misunderstanding about
that and half the methods worked properly, while the other half did
not ... fixing that here.
Also related: #4001
|
|
This reverts commit 43afc71b777b00cfc2638add6fa3c47d333c5e04.
|
|
This reverts commit e1a94d30e2f30cee36f71c246136fb2db34d25df.
|
|
|
|
More instances of the bug that was fixed with 43afc71b777b00cfc2638add6fa3c47d333c5e04
|
|
|
|
This is not a supported use case, but if QB escaping is force-disabled,
string values passed to where() or having() aren't escaped. That's wrong
because escape-disabling should only be possible for identifiers and not
values.
Reported via the forums: http://forum.codeigniter.com/thread-62478.html
|
|
|
|
MYSQLI_OPT_SSL_VERIFY_SERVER_CERT is an undocumented option that may not always be available.
Reference: http://svn.php.net/viewvc/php/php-src/trunk/ext/mysqli/tests/mysqli_constants.phpt?view=markup&pathrev=302897
|
|
Related: #3896
|
|
Related: #3896
|
|
|
|
feature/mysqli_ssl
|
|
This will allow adding multiple keys using array (http://www.codeigniter.com/user_guide/database/forge.html#adding-keys). Only if user wants, he can use the table columns to set a primary key by setting second parameter as TRUE.
|
|
|
|
|
|
Reported via the forums: http://forum.codeigniter.com/thread-61774.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
new MySQLi SSL configuration options to a single ssl_options config item that is an array that will be read to set the individual SSL options.
Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
|
|
|
|
database configuration documentation to include a list of the new MySQLi driver parameters.
Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
|
|
additional database connection options. Uses the DB_driver class encrypt option as the flag for turning on encryption. Also added SSL connection validation with error logging in order to provide users a way to know if they are actually connecting via SSL.
Signed-off-by: Tim Nolte <noltet@sekisui-spi.com>
|
|
Reported via the forums: http://forum.codeigniter.com/thread-61810.html
|
|
When you're using oracle databases and want to retrieve column information through the function field_data($table) you get the following notice:
- Notice: Undefined property: stdClass::$COLUMN_DEFAULT in system/database/drivers/oci8/oci8_driver.php on line 576;
This happens because the oci8 driver tries to access a property that does not exist on query used to get field information. Checking the code we see a small validation to set default value, but the variable $default is not used. So we fix this bug by simply changing:
$retval[$i]->default = $query[$i]->COLUMN_DEFAULT;
to
$retval[$i]->default = $default;
Bug fixed. No more notices and the properly value is set.
|
|
|
|
|