private function escape($colValue, $colType)
    {
        if (is_null($colValue)) {
            return "NULL";
        } elseif ($this->dumpSettings['hex-blob'] && $colType['is_blob']) {
            if ($colType['type'] == 'bit' || !empty($colValue)) {
                return "0x${colValue}";
            } else {
                return "''";
            }
        } elseif ($colType['is_numeric']) {
            return $colValue;
        }

        return $this->dbHandler->quote($colValue);
    }
private function escape($colValue, $colType)
    {
        if (is_null($colValue)) {
            return "NULL";
        } elseif ($this->dumpSettings['hex-blob'] && $colType['is_blob']) {
            if ($colType['type'] == 'bit' || !empty($colValue)) {
                return "0x${colValue}";
            } else {
                return "''";
            }
        } elseif ($colType['is_numeric']) {
            return $colValue;
        }

        return $this->dbHandler->quote($colValue);
    }
private function escape ( $ colValue , $ colType ) { if ( is_null ( $ colValue ) ) { return "NULL" ; } elseif ( $ this -> dumpSettings [ 'hex-blob' ] && $ colType [ 'is_blob' ] ) { if ( $ colType [ 'type' ] == 'bit' || ! empty ( $ colValue ) ) { return "0x${colValue}" ; } else { return "''" ; } } elseif ( $ colType [ 'is_numeric' ] ) { return $ colValue ; } return $ this -> dbHandler -> quote ( $ colValue ) ; }
Escape values with quotes when needed

@param string $tableName Name of table which contains rows
@param array $row Associative array of column names and values to be quoted

@return string
Escape values with quotes when needed