diff options
Diffstat (limited to 'ext/mysqli/mysqli_repl.c')
-rw-r--r-- | ext/mysqli/mysqli_repl.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_repl.c b/ext/mysqli/mysqli_repl.c index bc4e89d79..977704502 100644 --- a/ext/mysqli/mysqli_repl.c +++ b/ext/mysqli/mysqli_repl.c @@ -2,7 +2,7 @@ +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ - | Copyright (c) 1997-2008 The PHP Group | + | Copyright (c) 1997-2009 The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | @@ -15,7 +15,7 @@ | Author: Georg Richter <georg@php.net> | +----------------------------------------------------------------------+ - $Id: mysqli_repl.c,v 1.3.2.2.2.2 2007/12/31 07:20:08 sebastian Exp $ + $Id: mysqli_repl.c,v 1.3.2.2.2.4 2008/12/31 11:17:40 sebastian Exp $ */ #ifdef HAVE_CONFIG_H @@ -29,6 +29,7 @@ #include "ext/standard/info.h" #include "php_mysqli.h" +#ifdef HAVE_LIBMYSQL_REPLICATION /* {{{ proto void mysqli_disable_reads_from_master(object link) */ PHP_FUNCTION(mysqli_disable_reads_from_master) @@ -211,6 +212,8 @@ PHP_FUNCTION(mysqli_slave_query) } /* }}} */ +#endif /* HAVE_LIBMYSQL_REPLICATION */ + /* * Local variables: * tab-width: 4 |