diff --git a/classes/query_builder.php b/classes/query_builder.php
index 0ab4a7f..5e006f6 100644
--- a/classes/query_builder.php
+++ b/classes/query_builder.php
@@ -116,7 +116,7 @@ class Query_Builder {
*
* @var DB_PDO
*/
- private $sql;
+ public $sql;
/**
* Query component order mapping
diff --git a/drivers/firebird/firebird_sql.php b/drivers/firebird/firebird_sql.php
index 97f43e3..5535884 100644
--- a/drivers/firebird/firebird_sql.php
+++ b/drivers/firebird/firebird_sql.php
@@ -248,7 +248,9 @@ SQL;
public function type_list()
{
return <<