Limit for explode() needs to be set to 3 to allow entering
branch at line 2350.
Change-Id: Idc2ba81a4bafa3e5511982db73a5c1549f1f9ef0
# Split database and table into proper variables.
# We reverse the explode so that database.table and table both output
# the correct table.
- $dbDetails = explode( '.', $name, 2 );
+ $dbDetails = explode( '.', $name, 3 );
if ( count( $dbDetails ) == 3 ) {
list( $database, $schema, $table ) = $dbDetails;
# We don't want any prefix added in this case