Skip to content

Commit

Permalink
Revert "Preliminary support for sqlite3."
Browse files Browse the repository at this point in the history
This is being moved into its own branch.

This reverts commit d61fd01.
  • Loading branch information
OwlManAtt committed Apr 18, 2008
1 parent d61fd01 commit b91282f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 296 deletions.
286 changes: 0 additions & 286 deletions active_table/SqlGenerators/sqlite3.class.php

This file was deleted.

12 changes: 2 additions & 10 deletions active_table/active_table.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
**/
require_once('SqlGenerators/interface.inc.php');
require_once('SqlGenerators/mysql.class.php');
require_once('SqlGenerators/sqlite3.class.php');
require_once('SqlGenerators/oci.class.php');

/**
Expand Down Expand Up @@ -324,13 +323,6 @@ public function __construct($db)
break;
} // end oci8

case 'sqlite3':
{
$this->sql_generator = 'ActiveTable_SQL_Sqlite3';

break;
} // end sqlite3

default:
{
throw new ArgumentError('Unsupported RDBMS specified in phptype.',20);
Expand Down Expand Up @@ -464,7 +456,7 @@ public function __construct($db)

if(array_key_exists('local_key',$SET_DEFINITION) == false)
{
throw new ArgumentError("Local key not defined in record set $record_set_name.",912);
throw new ArgumentError("Local key not definedin record set $record_set_name.",912);
}

// Intialize the ID list.
Expand All @@ -480,7 +472,7 @@ public function __construct($db)
} // end args > 1

$total = round((microtime(true) - $start),4);
$this->debug("#__construct() executed in '$total' seconds.",'method_time');
$this->debug("#__constructt() executed in '$total' seconds.",'method_time');
} // end __construct

/**
Expand Down

0 comments on commit b91282f

Please sign in to comment.