phpBB

Code Changes

File: phpbb/db/extractor/oracle_extractor.php

  Unmodified   Added   Modified   Removed
Line 82Line 82
		}
$this->db->sql_freeresult($result);


		}
$this->db->sql_freeresult($result);


		if (sizeof($primary_key))

		if (count($primary_key))

		{
$rows[] = " CONSTRAINT {$constraint_name} PRIMARY KEY (" . implode(', ', $primary_key) . ')';
}

		{
$rows[] = " CONSTRAINT {$constraint_name} PRIMARY KEY (" . implode(', ', $primary_key) . ')';
}

Line 103Line 103
		}
$this->db->sql_freeresult($result);


		}
$this->db->sql_freeresult($result);


		if (sizeof($unique))

		if (count($unique))

		{
$rows[] = " CONSTRAINT {$constraint_name} UNIQUE (" . implode(', ', $unique) . ')';
}

		{
$rows[] = " CONSTRAINT {$constraint_name} UNIQUE (" . implode(', ', $unique) . ')';
}