Permalink
Browse files

strip ticks for MetaColumns and MetaIndexes

  • Loading branch information...
1 parent 511d037 commit b55623f0816efb98a6633841d6de23999ee4c5ef @spiderr spiderr committed Jul 26, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 BitDbAdodb.php
View
@@ -284,6 +284,7 @@ function query( $query, $values = FALSE, $numrows = BIT_QUERY_DEFAULT, $offset =
* @return array of ADOFieldObjects for current table.
*/
function MetaColumns( $table,$normalize=TRUE, $schema=FALSE ) {
+ $table = str_replace( '`', '', $table );
return $this->mDb->MetaColumns( $table, $normalize, $schema );
}
@@ -298,6 +299,7 @@ function MetaColumns( $table,$normalize=TRUE, $schema=FALSE ) {
* @return array of ADOFieldObjects for current table.
*/
function MetaIndexes( $table,$primary=FALSE, $owner=FALSE ) {
+ $table = str_replace( '`', '', $table );
return $this->mDb->MetaIndexes( $table, $primary, $owner );
}

0 comments on commit b55623f

Please sign in to comment.