~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

Viewing changes to scripts/msql2mysql.sh

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-02 16:10:53 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070402161053-zkil9hjq9k5p1uzv
Tags: 5.0.37-0ubuntu1
* New upstream bugfix release.
  - Fixes replication failure with auto-increment and on duplicate key
    update, a regression introduced into 5.0.24. (LP: #95821)
* debian/control: Set Ubuntu maintainer.
* debian/rules: Change comments from 'Debian etch' to 'Ubuntu 7.04'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
 
# Copyright (C) 1979-1996 TcX AB & Monty Program KB & Detron HB
3
 
4
 
# This software is distributed with NO WARRANTY OF ANY KIND.  No author or
5
 
# distributor accepts any responsibility for the consequences of using it, or
6
 
# for whether it serves any particular purpose or works at all, unless he or
7
 
# she says so in writing.  Refer to the Free Public License (the "License")
8
 
# for full details.
9
 
10
 
# Every copy of this file must include a copy of the License, normally in a
11
 
# plain ASCII text file named PUBLIC.  The License grants you the right to 
12
 
# copy, modify and redistribute this file, but only under certain conditions
13
 
# described in the License.  Among other things, the License requires that
14
 
# the copyright notice and this notice be preserved on all copies.
 
2
# Copyright (C) 1979-2007 MySQL AB
 
3
 
4
# This program is free software; you can redistribute it and/or modify
 
5
# it under the terms of the GNU General Public License as published by
 
6
# the Free Software Foundation; version 2 of the License.
 
7
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; see the file COPYING. If not, write to the
 
15
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston
 
16
# MA  02110-1301  USA.
15
17
 
16
18
@bindir@/replace msqlConnect mysql_connect msqlListDBs  mysql_list_dbs msqlNumRows mysql_num_rows msqlFetchRow mysql_fetch_row msqlFetchField mysql_fetch_field msqlFreeResult mysql_free_result msqlListFields mysql_list_fields msqlListTables mysql_list_tables msqlErrMsg 'mysql_error(mysql)' msqlStoreResult mysql_store_result msqlQuery mysql_query msqlField mysql_field msqlSelect mysql_select msqlSelectDB mysql_select_db msqlNumFields mysql_num_fields msqlClose mysql_close msqlDataSeek mysql_data_seek m_field MYSQL_FIELD m_result MYSQL_RES m_row MYSQL_ROW msql mysql mSQL mySQL MSQL MYSQL msqlCreateDB mysql_create_db msqlDropDB mysql_drop_db msqlFieldSeek mysql_field_seek -- $*