From e8cbbc0637cb27c6fda64940a9138e08060475f8 Mon Sep 17 00:00:00 2001 From: MySQL Team Date: Fri, 1 Jun 2001 20:07:26 +0000 Subject: Upgrade ext/mysql/libmysql to version 3.23.39. No major changes - portability fixes. Also add configure test for HAVE_INT_8_16_32 which should solve compilation problems on AIX. --- ext/mysql/libmysql/update_sources | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'ext/mysql/libmysql/update_sources') diff --git a/ext/mysql/libmysql/update_sources b/ext/mysql/libmysql/update_sources index 573129b020..87547e483e 100755 --- a/ext/mysql/libmysql/update_sources +++ b/ext/mysql/libmysql/update_sources @@ -10,13 +10,13 @@ $| = 1; my $command = shift || usage(); $command =~ /^--(?:update|huh|restore)$/ or usage(); -my $from = shift || '/users/tim/my/work'; +my $from = shift || '/my/mysql'; my @source_dirs = qw/dbug strings mysys libmysql include/; my $source_re = qr/\.(?:cc?|h)$/; my %skip = ( - 'ctype_autoconf.c' => 1, - 'ctype_extra_sources.c' => 1, - 'my_config.h' => 1, + 'ctype_autoconf.c' => 1, # PHP uses a pre-made one + 'ctype_extra_sources.c' => 1, # same here + 'my_config.h' => 1, # we use php_config.h ); opendir D, "." @@ -75,6 +75,13 @@ sub usage usage: $0 --update [mysql-source-dir] $0 --huh $0 --restore + + Typical use is: + \$ $0 --update 2>&1 > /tmp/php-update.diff + \$ @{[$ENV{EDITOR}||'vi']} /tmp/php-update.diff #does it look okay? + \$ Monkey around a bit + \$ cvs diff -u | less # does this look okay? + \$ rm *.orig EOF } -- cgit v1.2.1