Skip to content

Commit bb8eacc

Browse files
author
Kristofer Pettersson
committed
* Fix: Missing GRANT_INFO constructor in gunit test merge_small_tests.cc
1 parent 6002518 commit bb8eacc

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

unittest/gunit/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ ADD_LIBRARY(gunit_small STATIC
220220
strnxfrm.cc
221221
tap_event_listener.cc
222222
thread_utils.cc
223+
fake_table.cc
223224
)
224225
ADD_LIBRARY(gunit_large STATIC
225226
gunit_test_main_server.cc

unittest/gunit/fake_table.cc

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
2+
3+
This program is free software; you can redistribute it and/or modify
4+
it under the terms of the GNU General Public License as published by
5+
the Free Software Foundation; version 2 of the License.
6+
7+
This program is distributed in the hope that it will be useful,
8+
but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
GNU General Public License for more details.
11+
12+
You should have received a copy of the GNU General Public License
13+
along with this program; if not, write to the Free Software
14+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
15+
#include "fake_table.h"
16+
17+
/**
18+
This member method exists in sqllib but we need it for
19+
merge_test_small.cc
20+
*/
21+
GRANT_INFO::GRANT_INFO()
22+
{}
23+

0 commit comments

Comments
 (0)