Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
fbc9cd7e
Commit
fbc9cd7e
authored
Feb 10, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
parents
14b4b58d
78e7230e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
include/my_sys.h
include/my_sys.h
+1
-1
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+4
-1
sql/item_sum.cc
sql/item_sum.cc
+2
-2
sql/item_sum.h
sql/item_sum.h
+2
-2
No files found.
include/my_sys.h
View file @
fbc9cd7e
...
...
@@ -143,7 +143,7 @@ extern ulonglong safemalloc_mem_limit;
#define CALLER_INFO , __FILE__, __LINE__
#define ORIG_CALLER_INFO , sFile, uLine
#else
#define my_checkmalloc()
(0)
#define my_checkmalloc()
#undef TERMINATE
#define TERMINATE(A) {}
#define QUICK_SAFEMALLOC
...
...
mysql-test/mysql-test-run.sh
View file @
fbc9cd7e
...
...
@@ -607,7 +607,9 @@ report_stats () {
$ECHO
"http://www.mysql.com/doc/M/y/MySQL_test_suite.html"
fi
#
if
test
-z
"
$USE_RUNNING_SERVER
"
then
# Report if there was any fatal warnings/errors in the log files
#
$RM
-f
$MY_LOG_DIR
/warnings
$MY_LOG_DIR
/warnings.tmp
...
...
@@ -630,6 +632,7 @@ report_stats () {
echo
"WARNING: Got errors/warnings while running tests. Please examine"
echo
"
$MY_LOG_DIR
/warnings for details."
fi
fi
}
mysql_install_db
()
{
...
...
sql/item_sum.cc
View file @
fbc9cd7e
/* Copyright (C) 2000
MySQL AB & MySQL Finland AB & TCX DataKonsult
AB
/* Copyright (C) 2000
-2003 MySQL
AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -918,7 +918,7 @@ int dump_leaf(byte* key, uint32 count __attribute__((unused)),
}
void
Item_sum_count_distinct
::
no_rows_in_resul
t
()
Item_sum_count_distinct
::~
Item_sum_count_distinc
t
()
{
if
(
table
)
free_tmp_table
(
current_thd
,
table
);
...
...
sql/item_sum.h
View file @
fbc9cd7e
...
...
@@ -185,7 +185,7 @@ class Item_sum_count_distinct :public Item_sum_int
:
Item_sum_int
(
list
),
table
(
0
),
used_table_cache
(
~
(
table_map
)
0
),
tmp_table_param
(
0
),
use_tree
(
0
),
always_null
(
0
)
{
quick_group
=
0
;
}
~
Item_sum_count_distinct
()
{
no_rows_in_result
();
}
~
Item_sum_count_distinct
()
;
table_map
used_tables
()
const
{
return
used_table_cache
;
}
enum
Sumfunctype
sum_func
()
const
{
return
COUNT_DISTINCT_FUNC
;
}
...
...
@@ -196,7 +196,7 @@ class Item_sum_count_distinct :public Item_sum_int
void
update_field
(
int
offset
)
{
return
;
}
// Never called
const
char
*
func_name
()
const
{
return
"count_distinct"
;
}
bool
setup
(
THD
*
thd
);
void
no_rows_in_result
()
;
void
no_rows_in_result
()
{}
unsigned
int
size_of
()
{
return
sizeof
(
*
this
);}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment