mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 20:11:42 +01:00
Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/jonas/src/mysql-5.0
This commit is contained in:
commit
df8e609b50
25 changed files with 160 additions and 81 deletions
|
@ -72,6 +72,7 @@ case "$cpu_family--$model_name" in
|
|||
;;
|
||||
*ppc)
|
||||
cpu_flag="powerpc";
|
||||
no_march=1;
|
||||
;;
|
||||
*)
|
||||
cpu_flag="";
|
||||
|
@ -106,6 +107,9 @@ case "$cc_ver--$cc_verno" in
|
|||
cpu_flag="$cpu_flag_old"
|
||||
fi
|
||||
check_cpu_cflags="-mcpu=$cpu_flag -march=$cpu_flag"
|
||||
if test -n "$no_march"; then
|
||||
check_cpu_cflags="-mcpu=$cpu_flag"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
check_cpu_cflags=""
|
||||
|
|
|
@ -49,5 +49,5 @@ enum options_client
|
|||
#ifdef HAVE_NDBCLUSTER_DB
|
||||
OPT_NDBCLUSTER, OPT_NDB_CONNECTSTRING,
|
||||
#endif
|
||||
OPT_IGNORE_TABLE,OPT_INSERT_IGNORE,OPT_SHOW_WARNINGS
|
||||
OPT_IGNORE_TABLE,OPT_INSERT_IGNORE,OPT_SHOW_WARNINGS,OPT_DROP_DATABASE
|
||||
};
|
||||
|
|
|
@ -85,7 +85,7 @@ static my_bool verbose=0,tFlag=0,dFlag=0,quick= 1, extended_insert= 1,
|
|||
opt_delete_master_logs=0, tty_password=0,
|
||||
opt_single_transaction=0, opt_comments= 0, opt_compact= 0,
|
||||
opt_hex_blob=0, opt_order_by_primary=0, opt_ignore=0,
|
||||
opt_complete_insert= 0;
|
||||
opt_complete_insert= 0, opt_drop_database= 0;
|
||||
static ulong opt_max_allowed_packet, opt_net_buffer_length;
|
||||
static MYSQL mysql_connection,*sock=0;
|
||||
static my_bool insert_pat_inited=0;
|
||||
|
@ -161,6 +161,9 @@ static struct my_option my_long_options[] =
|
|||
"Dump all the databases. This will be same as --databases with all databases selected.",
|
||||
(gptr*) &opt_alldbs, (gptr*) &opt_alldbs, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0,
|
||||
0, 0},
|
||||
{"add-drop-database", OPT_DROP_DATABASE, "Add a 'DROP DATABASE' before each create.",
|
||||
(gptr*) &opt_drop_database, (gptr*) &opt_drop_database, 0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0,
|
||||
0},
|
||||
{"add-drop-table", OPT_DROP, "Add a 'drop table' before each create.",
|
||||
(gptr*) &opt_drop, (gptr*) &opt_drop, 0, GET_BOOL, NO_ARG, 1, 0, 0, 0, 0,
|
||||
0},
|
||||
|
@ -1144,9 +1147,9 @@ static uint get_table_structure(char *table, char *db)
|
|||
else
|
||||
dynstr_set(&insert_pat, "");
|
||||
|
||||
insert_option= (opt_delayed && opt_ignore) ? " DELAYED IGNORE " :
|
||||
opt_delayed ? " DELAYED " :
|
||||
opt_ignore ? " IGNORE " : "";
|
||||
insert_option= ((opt_delayed && opt_ignore) ? " DELAYED IGNORE " :
|
||||
opt_delayed ? " DELAYED " :
|
||||
opt_ignore ? " IGNORE " : "");
|
||||
|
||||
if (verbose)
|
||||
fprintf(stderr, "-- Retrieving table structure for table %s...\n", table);
|
||||
|
@ -2116,12 +2119,20 @@ static int init_dumping(char *database)
|
|||
if (mysql_query(sock, qbuf) || !(dbinfo = mysql_store_result(sock)))
|
||||
{
|
||||
/* Old server version, dump generic CREATE DATABASE */
|
||||
if (opt_drop_database)
|
||||
fprintf(md_result_file,
|
||||
"\n/*!40000 DROP DATABASE IF EXISTS %s;*/\n",
|
||||
qdatabase);
|
||||
fprintf(md_result_file,
|
||||
"\nCREATE DATABASE /*!32312 IF NOT EXISTS*/ %s;\n",
|
||||
qdatabase);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (opt_drop_database)
|
||||
fprintf(md_result_file,
|
||||
"\n/*!40000 DROP DATABASE IF EXISTS %s*/;\n",
|
||||
qdatabase);
|
||||
row = mysql_fetch_row(dbinfo);
|
||||
if (row[1])
|
||||
{
|
||||
|
|
|
@ -310,12 +310,14 @@ C_MODE_END
|
|||
#endif
|
||||
#if defined(__ia64__)
|
||||
#define new my_arg_new
|
||||
#define need_to_restore_new 1
|
||||
#endif
|
||||
C_MODE_START
|
||||
#include <asm/atomic.h>
|
||||
C_MODE_END
|
||||
#if defined(__ia64__)
|
||||
#ifdef need_to_restore_new /* probably safer than #ifdef new */
|
||||
#undef new
|
||||
#undef need_to_restore_new
|
||||
#endif
|
||||
#endif
|
||||
#include <errno.h> /* Recommended by debian */
|
||||
|
|
|
@ -1384,3 +1384,41 @@ UNLOCK TABLES;
|
|||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (a int);
|
||||
INSERT INTO t1 VALUES (1),(2),(3);
|
||||
|
||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||
/*!40101 SET NAMES utf8 */;
|
||||
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
|
||||
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
|
||||
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
|
||||
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
|
||||
|
||||
/*!40000 DROP DATABASE IF EXISTS `test`*/;
|
||||
|
||||
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `test` /*!40100 DEFAULT CHARACTER SET latin1 */;
|
||||
|
||||
USE `test`;
|
||||
DROP TABLE IF EXISTS `t1`;
|
||||
CREATE TABLE `t1` (
|
||||
`a` int(11) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
|
||||
/*!40000 ALTER TABLE `t1` DISABLE KEYS */;
|
||||
LOCK TABLES `t1` WRITE;
|
||||
INSERT INTO `t1` VALUES (1),(2),(3);
|
||||
UNLOCK TABLES;
|
||||
/*!40000 ALTER TABLE `t1` ENABLE KEYS */;
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||
|
||||
DROP TABLE t1;
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
Variable_name Value
|
||||
lower_case_table_names 1
|
|
@ -1,7 +0,0 @@
|
|||
use COM1;
|
||||
ERROR 42000: Unknown database 'com1'
|
||||
use LPT1;
|
||||
ERROR 42000: Unknown database 'lpt1'
|
||||
use PRN;
|
||||
ERROR 42000: Unknown database 'prn'
|
||||
|
|
@ -2423,6 +2423,12 @@ ERROR HY000: Incorrect usage of ALL and DISTINCT
|
|||
select distinct all * from t1;
|
||||
ERROR HY000: Incorrect usage of ALL and DISTINCT
|
||||
drop table t1;
|
||||
CREATE TABLE t1 (b BIGINT(20) UNSIGNED NOT NULL, PRIMARY KEY (b));
|
||||
INSERT INTO t1 VALUES (0x8000000000000000);
|
||||
SELECT b FROM t1 WHERE b=0x8000000000000000;
|
||||
b
|
||||
9223372036854775808
|
||||
DROP TABLE t1;
|
||||
CREATE TABLE t1 (
|
||||
K2C4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '',
|
||||
K4N4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '0000',
|
||||
|
|
|
@ -1201,27 +1201,27 @@ concat('value is: ', @val)
|
|||
value is: 6
|
||||
some text
|
||||
CREATE TABLE t1 (
|
||||
a ENUM('ä','ö','ü') character set utf8 not null default 'ü',
|
||||
a ENUM('ä','ö','ü') character set utf8 not null default 'ü',
|
||||
b ENUM("one", "two") character set utf8,
|
||||
c ENUM("one", "two")
|
||||
);
|
||||
show create table t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` enum('ä','ö','ü') character set utf8 NOT NULL default 'ü',
|
||||
`a` enum('ä','ö','ü') character set utf8 NOT NULL default 'ü',
|
||||
`b` enum('one','two') character set utf8 default NULL,
|
||||
`c` enum('one','two') default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
insert into t1 values ('ä', 'one', 'one'), ('ö', 'two', 'one'), ('ü', NULL, NULL);
|
||||
insert into t1 values ('ä', 'one', 'one'), ('ö', 'two', 'one'), ('ü', NULL, NULL);
|
||||
create table t2 select NULL union select a from t1;
|
||||
show columns from t2;
|
||||
Field Type Null Key Default Extra
|
||||
NULL enum('ä','ö','ü') YES NULL
|
||||
NULL enum('ä','ö','ü') YES NULL
|
||||
drop table t2;
|
||||
create table t2 select a from t1 union select NULL;
|
||||
show columns from t2;
|
||||
Field Type Null Key Default Extra
|
||||
a enum('ä','ö','ü') YES NULL
|
||||
a enum('ä','ö','ü') YES NULL
|
||||
drop table t2;
|
||||
create table t2 select a from t1 union select a from t1;
|
||||
show columns from t2;
|
||||
|
@ -1252,3 +1252,22 @@ t2 CREATE TABLE `t2` (
|
|||
`a` varchar(12) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 ROW_FORMAT=FIXED
|
||||
drop table t1,t2;
|
||||
create table t1 ( id int not null auto_increment, primary key (id), col1 int);
|
||||
insert into t1 (col1) values (2),(3),(4),(5),(6);
|
||||
select 99 union all select id from t1 order by 1;
|
||||
99
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
99
|
||||
select id from t1 union all select 99 order by 1;
|
||||
id
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
99
|
||||
drop table t1;
|
||||
|
|
|
@ -554,3 +554,12 @@ create table t1 (
|
|||
insert into t1 (F_8d3bba7425e7c98c50f52ca1b52d3735) values (1);
|
||||
--exec $MYSQL_DUMP --skip-comments -c test
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test for --add-drop-database
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (a int);
|
||||
INSERT INTO t1 VALUES (1),(2),(3);
|
||||
--exec $MYSQL_DUMP --add-drop-database --skip-comments --databases test
|
||||
DROP TABLE t1;
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#
|
||||
# Test of reserved Windows names
|
||||
#
|
||||
--require r/reserved_win_names.require
|
||||
|
||||
--error 1049
|
||||
use COM1;
|
||||
--error 1049
|
||||
use LPT1;
|
||||
--error 1049
|
||||
use PRN;
|
||||
|
|
@ -1998,6 +1998,15 @@ select distinct all * from t1;
|
|||
drop table t1;
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
# Test for Bug#8009, SELECT failed on bigint unsigned when using HEX
|
||||
#
|
||||
|
||||
CREATE TABLE t1 (b BIGINT(20) UNSIGNED NOT NULL, PRIMARY KEY (b));
|
||||
INSERT INTO t1 VALUES (0x8000000000000000);
|
||||
SELECT b FROM t1 WHERE b=0x8000000000000000;
|
||||
DROP TABLE t1;
|
||||
# Test for bug #6474
|
||||
#
|
||||
|
||||
|
|
|
@ -740,12 +740,12 @@ select concat('value is: ', @val) union select 'some text';
|
|||
# Enum merging test
|
||||
#
|
||||
CREATE TABLE t1 (
|
||||
a ENUM('ä','ö','ü') character set utf8 not null default 'ü',
|
||||
a ENUM('ä','ö','ü') character set utf8 not null default 'ü',
|
||||
b ENUM("one", "two") character set utf8,
|
||||
c ENUM("one", "two")
|
||||
);
|
||||
show create table t1;
|
||||
insert into t1 values ('ä', 'one', 'one'), ('ö', 'two', 'one'), ('ü', NULL, NULL);
|
||||
insert into t1 values ('ä', 'one', 'one'), ('ö', 'two', 'one'), ('ü', NULL, NULL);
|
||||
create table t2 select NULL union select a from t1;
|
||||
show columns from t2;
|
||||
drop table t2;
|
||||
|
@ -772,3 +772,14 @@ select row_format from information_schema.TABLES where table_schema="test" and t
|
|||
alter table t2 ROW_FORMAT=fixed;
|
||||
show create table t2;
|
||||
drop table t1,t2;
|
||||
|
||||
|
||||
#
|
||||
# Bug #10032 Bug in parsing UNION with ORDER BY when one node does not use FROM
|
||||
#
|
||||
|
||||
create table t1 ( id int not null auto_increment, primary key (id), col1 int);
|
||||
insert into t1 (col1) values (2),(3),(4),(5),(6);
|
||||
select 99 union all select id from t1 order by 1;
|
||||
select id from t1 union all select 99 order by 1;
|
||||
drop table t1;
|
||||
|
|
|
@ -28,29 +28,9 @@
|
|||
bool
|
||||
File_class::exists(const char* aFileName)
|
||||
{
|
||||
bool rc = true;
|
||||
#ifdef USE_MY_STAT_STRUCT
|
||||
struct my_stat stmp;
|
||||
#else
|
||||
struct stat stmp;
|
||||
#endif
|
||||
if (my_stat(aFileName, &stmp, MYF(0)) != 0)
|
||||
{
|
||||
rc = false;
|
||||
}
|
||||
|
||||
/*
|
||||
File f;
|
||||
if (!f.open(aFileName, "r"))
|
||||
{
|
||||
rc = (errno == ENOENT ? false : true);
|
||||
}
|
||||
else
|
||||
{
|
||||
f.close();
|
||||
}
|
||||
*/
|
||||
return rc;
|
||||
MY_STAT stmp;
|
||||
|
||||
return (my_stat(aFileName, &stmp, MYF(0))!=NULL);
|
||||
}
|
||||
|
||||
long
|
||||
|
|
|
@ -3700,6 +3700,7 @@ Item_hex_string::Item_hex_string(const char *str, uint str_length)
|
|||
*ptr=0; // Keep purify happy
|
||||
collation.set(&my_charset_bin, DERIVATION_COERCIBLE);
|
||||
fixed= 1;
|
||||
unsigned_flag= 1;
|
||||
}
|
||||
|
||||
longlong Item_hex_string::val_int()
|
||||
|
|
|
@ -232,7 +232,8 @@ File open_binlog(IO_CACHE *log, const char *log_file_name, const char **errmsg)
|
|||
File file;
|
||||
DBUG_ENTER("open_binlog");
|
||||
|
||||
if ((file = my_open(log_file_name, O_RDONLY | O_BINARY, MYF(MY_WME))) < 0)
|
||||
if ((file = my_open(log_file_name, O_RDONLY | O_BINARY | O_SHARE,
|
||||
MYF(MY_WME))) < 0)
|
||||
{
|
||||
sql_print_error("Failed to open log (file '%s', errno %d)",
|
||||
log_file_name, my_errno);
|
||||
|
|
|
@ -1059,7 +1059,6 @@ extern char language[FN_REFLEN], reg_ext[FN_EXTLEN];
|
|||
extern char glob_hostname[FN_REFLEN], mysql_home[FN_REFLEN];
|
||||
extern char pidfile_name[FN_REFLEN], system_time_zone[30], *opt_init_file;
|
||||
extern char log_error_file[FN_REFLEN], *opt_tc_log_file;
|
||||
extern double last_query_cost;
|
||||
extern double log_10[32];
|
||||
extern ulonglong log_10_int[20];
|
||||
extern ulonglong keybuff_size;
|
||||
|
|
|
@ -368,7 +368,6 @@ ulong thread_id=1L,current_pid;
|
|||
ulong slow_launch_threads = 0, sync_binlog_period;
|
||||
ulong expire_logs_days = 0;
|
||||
ulong rpl_recovery_rank=0;
|
||||
double last_query_cost= -1; /* -1 denotes that no query was compiled yet */
|
||||
|
||||
double log_10[32]; /* 10 potences */
|
||||
time_t start_time;
|
||||
|
@ -5727,7 +5726,7 @@ struct show_var_st status_vars[]= {
|
|||
{"Key_reads", (char*) &dflt_key_cache_var.global_cache_read, SHOW_KEY_CACHE_LONG},
|
||||
{"Key_write_requests", (char*) &dflt_key_cache_var.global_cache_w_requests, SHOW_KEY_CACHE_LONG},
|
||||
{"Key_writes", (char*) &dflt_key_cache_var.global_cache_write, SHOW_KEY_CACHE_LONG},
|
||||
{"Last_query_cost", (char*) &last_query_cost, SHOW_DOUBLE},
|
||||
{"Last_query_cost", (char*) offsetof(STATUS_VAR, last_query_cost), SHOW_DOUBLE_STATUS},
|
||||
{"Max_used_connections", (char*) &max_used_connections, SHOW_LONG},
|
||||
#ifdef HAVE_NDBCLUSTER_DB
|
||||
{"Ndb_", (char*) &ndb_status_variables, SHOW_VARS},
|
||||
|
|
|
@ -444,6 +444,7 @@ void add_to_status(STATUS_VAR *to_var, STATUS_VAR *from_var)
|
|||
|
||||
while (to != end)
|
||||
*(to++)+= *(from++);
|
||||
/* it doesn't make sense to add last_query_cost values */
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -635,6 +635,8 @@ typedef struct system_status_var
|
|||
ulong filesort_range_count;
|
||||
ulong filesort_rows;
|
||||
ulong filesort_scan_count;
|
||||
|
||||
double last_query_cost;
|
||||
} STATUS_VAR;
|
||||
|
||||
/*
|
||||
|
|
|
@ -3796,8 +3796,7 @@ choose_plan(JOIN *join, table_map join_tables)
|
|||
Don't update last_query_cost for 'show status' command
|
||||
*/
|
||||
if (join->thd->lex->orig_sql_command != SQLCOM_SHOW_STATUS)
|
||||
last_query_cost= join->best_read;
|
||||
|
||||
join->thd->status_var.last_query_cost= join->best_read;
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
|
|
|
@ -1382,8 +1382,9 @@ static bool show_status_array(THD *thd, const char *wild,
|
|||
end= strend(pos);
|
||||
break;
|
||||
}
|
||||
case SHOW_DOUBLE:
|
||||
case SHOW_DOUBLE_STATUS:
|
||||
{
|
||||
value= ((char *) status_var + (ulong) value);
|
||||
end= buff + sprintf(buff, "%f", *(double*) value);
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -3972,7 +3972,7 @@ select_part2:
|
|||
select_into select_lock_type;
|
||||
|
||||
select_into:
|
||||
opt_limit_clause {}
|
||||
opt_order_clause opt_limit_clause {}
|
||||
| into
|
||||
| select_from
|
||||
| into select_from
|
||||
|
|
|
@ -164,7 +164,8 @@ typedef struct st_known_date_time_format {
|
|||
enum SHOW_TYPE
|
||||
{
|
||||
SHOW_UNDEF,
|
||||
SHOW_LONG, SHOW_LONGLONG, SHOW_INT, SHOW_CHAR, SHOW_CHAR_PTR, SHOW_DOUBLE,
|
||||
SHOW_LONG, SHOW_LONGLONG, SHOW_INT, SHOW_CHAR, SHOW_CHAR_PTR,
|
||||
SHOW_DOUBLE_STATUS,
|
||||
SHOW_BOOL, SHOW_MY_BOOL, SHOW_OPENTABLES, SHOW_STARTTIME, SHOW_QUESTION,
|
||||
SHOW_LONG_CONST, SHOW_INT_CONST, SHOW_HAVE, SHOW_SYS, SHOW_HA_ROWS,
|
||||
SHOW_VARS,
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
Name: MySQL
|
||||
Summary: MySQL: a very fast and reliable SQL database server
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Version: @MYSQL_NO_DASH_VERSION@
|
||||
Release: %{release}
|
||||
License: GPL
|
||||
|
@ -57,8 +57,8 @@ documentation and the manual for more information.
|
|||
Release: %{release}
|
||||
Summary: MySQL: a very fast and reliable SQL database server
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Summary(pt_BR): MySQL: Um servidor SQL rápido e confiável.
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Requires: fileutils sh-utils
|
||||
Provides: msqlormysql mysql-server mysql MySQL
|
||||
Obsoletes: MySQL mysql mysql-server
|
||||
|
@ -92,7 +92,7 @@ Release: %{release}
|
|||
Summary: MySQL - Client
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL - Cliente
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Obsoletes: mysql-client
|
||||
Provides: mysql-client
|
||||
|
||||
|
@ -102,7 +102,7 @@ This package contains the standard MySQL clients and administration tools.
|
|||
%{see_base}
|
||||
|
||||
%description client -l pt_BR
|
||||
Este pacote contém os clientes padrão para o MySQL.
|
||||
Este pacote contém os clientes padrão para o MySQL.
|
||||
|
||||
%package ndb-storage
|
||||
Release: %{release}
|
||||
|
@ -156,8 +156,8 @@ Release: %{release}
|
|||
Requires: %{name}-client perl-DBI perl
|
||||
Summary: MySQL - Benchmarks and test system
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Provides: mysql-bench
|
||||
Obsoletes: mysql-bench
|
||||
|
||||
|
@ -167,14 +167,14 @@ This package contains MySQL benchmark scripts and data.
|
|||
%{see_base}
|
||||
|
||||
%description bench -l pt_BR
|
||||
Este pacote contém medições de desempenho de scripts e dados do MySQL.
|
||||
Este pacote contém medições de desempenho de scripts e dados do MySQL.
|
||||
|
||||
%package devel
|
||||
Release: %{release}
|
||||
Summary: MySQL - Development header files and libraries
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Provides: mysql-devel
|
||||
Obsoletes: mysql-devel
|
||||
|
||||
|
@ -185,8 +185,8 @@ necessary to develop MySQL client applications.
|
|||
%{see_base}
|
||||
|
||||
%description devel -l pt_BR
|
||||
Este pacote contém os arquivos de cabeçalho (header files) e bibliotecas
|
||||
necessárias para desenvolver aplicações clientes do MySQL.
|
||||
Este pacote contém os arquivos de cabeçalho (header files) e bibliotecas
|
||||
necessárias para desenvolver aplicações clientes do MySQL.
|
||||
|
||||
%package shared
|
||||
Release: %{release}
|
||||
|
@ -226,8 +226,8 @@ Release: %{release}
|
|||
Requires: %{name}-devel
|
||||
Summary: MySQL - embedded library
|
||||
Group: Applications/Databases
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Summary(pt_BR): MySQL - Medições de desempenho
|
||||
Group(pt_BR): Aplicações/Banco_de_Dados
|
||||
Obsoletes: mysql-embedded
|
||||
|
||||
%description embedded
|
||||
|
@ -364,6 +364,9 @@ fi
|
|||
(cd libmysql/.libs; tar cf $RBR/shared-libs.tar *.so*)
|
||||
(cd libmysql_r/.libs; tar rf $RBR/shared-libs.tar *.so*)
|
||||
|
||||
# Now clean up
|
||||
make clean
|
||||
|
||||
#
|
||||
# Only link statically on our i386 build host (which has a specially
|
||||
# patched static glibc installed) - ia64 and x86_64 run glibc-2.3 (unpatched)
|
||||
|
@ -686,6 +689,10 @@ fi
|
|||
# itself - note that they must be ordered by date (important when
|
||||
# merging BK trees)
|
||||
%changelog
|
||||
* Wed May 25 2005 Joerg Bruehe <joerg@mysql.com>
|
||||
|
||||
- Added a "make clean" between separate calls to "BuildMySQL".
|
||||
|
||||
* Wed Apr 20 2005 Lenz Grimmer <lenz@mysql.com>
|
||||
|
||||
- Enabled the "blackhole" storage engine for the Max RPM
|
||||
|
|
Loading…
Add table
Reference in a new issue