Skip to content

Commit

Permalink
Merge pull request #10726 from creative-commoners/pulls/5.0/pdo
Browse files Browse the repository at this point in the history
MNT Remove references to PDO
  • Loading branch information
GuySartorelli authored Mar 19, 2023
2 parents d860cb6 + 9f250cf commit f7e8681
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bootstrap/environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

if (!Environment::getEnv('SS_DATABASE_CLASS') && !Environment::getEnv('SS_DATABASE_USERNAME')) {
// The default settings let us define the database config via environment vars
// Database connection, including PDO and legacy ORM support
// Database connection, including legacy ORM support
switch (Environment::getEnv('DB')) {
case "PGSQL";
$pgDatabaseClass = 'PostgreSQLDatabase';
Expand Down
2 changes: 1 addition & 1 deletion tests/php/ORM/DatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function testFieldTypes()
$obj->MyInt = 5;
$obj->MyFloat = 6.0;

// Note: in non-PDO SQLite, whole numbers of a decimal field will be returned as integers rather than floats
// Note: in SQLite, whole numbers of a decimal field will be returned as integers rather than floats
$obj->MyDecimal = 7.1;
$obj->MyBoolean = true;
$obj->write();
Expand Down

0 comments on commit f7e8681

Please sign in to comment.