Exemplo n.º 1
0
	/**
	 * @return array
	 */
	protected function getDefaultSchemaVars() {
		$vars = parent::getDefaultSchemaVars();
		$vars['wgDBTableOptions'] = str_replace( 'TYPE', 'ENGINE', $GLOBALS['wgDBTableOptions'] );
		$vars['wgDBTableOptions'] = str_replace( 'CHARSET=mysql4', 'CHARSET=binary', $vars['wgDBTableOptions'] );
		return $vars;
	}
Exemplo n.º 2
0
 protected function getDefaultSchemaVars()
 {
     $vars = parent::getDefaultSchemaVars();
     $vars['wgDBTableOptions'] = $GLOBALS['wgDBTableOptions'];
     return $vars;
 }