Skip to content

Commit 5dcb111

Browse files
committed
Merge branch 'Buggynours:10.0' into 10.0
2 parents bbcc8e6 + eae8318 commit 5dcb111

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2033
-696
lines changed

.gitattributes

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files you want to always be normalized and converted
5+
# to native line endings on checkout.
6+
*.c text
7+
*.cc text
8+
*.cpp text
9+
*.h text
10+
*.test text
11+
12+
# Declare files that will always have LF line endings on checkout.
13+
*.result text eol=lf
14+
storage/connect/mysql-test/connect/std_data/*.txt text eol=lf
15+
storage/connect/mysql-test/connect/std_data/*.dat text eol=lf
16+
17+
# Denote all files that are truly binary and should not be modified.
18+
*.png binary
19+
*.jpg binary
20+
121
*.c diff=cpp
222
*.h diff=cpp
323
*.cc diff=cpp

.gitignore

Lines changed: 233 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Edited by Olivier Bertrand
12
*-t
23
*.a
34
*.ctest
@@ -7,6 +8,8 @@
78
*.so.*
89
*.spec
910
*~
11+
*.bak
12+
*.log
1013
.*.swp
1114
*.ninja
1215
.ninja_*
@@ -15,6 +18,9 @@ errmsg.sys
1518
typescript
1619
CMakeCache.txt
1720
CMakeFiles/
21+
MakeFile
22+
cmake_install.cmake
23+
install_manifest.txt
1824
CPackConfig.cmake
1925
CPackSourceConfig.cmake
2026
CTestTestfile.cmake
@@ -230,3 +236,230 @@ storage/mroonga/vendor/groonga/src/grnslap
230236
storage/mroonga/vendor/groonga/src/groonga
231237
storage/mroonga/vendor/groonga/src/groonga-benchmark
232238
storage/mroonga/vendor/groonga/src/suggest/groonga-suggest-create-dataset
239+
# C and C++
240+
241+
# Compiled Object files
242+
*.slo
243+
*.lo
244+
*.o
245+
*.ko
246+
*.obj
247+
*.elf
248+
249+
# Precompiled Headers
250+
*.gch
251+
*.pch
252+
253+
# Compiled Static libraries
254+
*.lib
255+
*.a
256+
*.la
257+
*.lai
258+
*.lo
259+
260+
# Compiled Dynamic libraries
261+
*.so
262+
*.so.*
263+
*.dylib
264+
*.dll
265+
266+
# Executables
267+
*.exe
268+
*.out
269+
*.app
270+
*.i*86
271+
*.x86_64
272+
*.hex
273+
274+
275+
## Ignore Visual Studio temporary files, build results, and
276+
## files generated by popular Visual Studio add-ons.
277+
278+
# User-specific files
279+
*.suo
280+
*.user
281+
*.userosscache
282+
*.sln.docstates
283+
*.ncb
284+
*.sln
285+
286+
*.vcproj
287+
*.vcproj.*
288+
*.vcproj.*.*
289+
*.vcproj.*.*.*
290+
291+
# Build results
292+
[Dd]ebug/
293+
[Dd]ebugPublic/
294+
[Rr]elease/
295+
[Rr]eleases/
296+
x64/
297+
x86/
298+
build/
299+
bld/
300+
[Bb]in/
301+
[Oo]bj/
302+
303+
# Roslyn cache directories
304+
*.ide/
305+
306+
# MSTest test Results
307+
[Tt]est[Rr]esult*/
308+
[Bb]uild[Ll]og.*
309+
310+
#NUNIT
311+
*.VisualState.xml
312+
TestResult.xml
313+
314+
# Build Results of an ATL Project
315+
[Dd]ebugPS/
316+
[Rr]eleasePS/
317+
dlldata.c
318+
319+
*_i.c
320+
*_p.c
321+
*_i.h
322+
*.ilk
323+
*.meta
324+
*.obj
325+
*.pch
326+
*.pdb
327+
*.pgc
328+
*.pgd
329+
*.rsp
330+
*.sbr
331+
*.tlb
332+
*.tli
333+
*.tlh
334+
*.tmp
335+
*.tmp_proj
336+
*.log
337+
*.vspscc
338+
*.vssscc
339+
.builds
340+
*.pidb
341+
*.svclog
342+
*.scc
343+
344+
# Chutzpah Test files
345+
_Chutzpah*
346+
347+
# Visual C++ cache files
348+
ipch/
349+
*.aps
350+
*.ncb
351+
*.opensdf
352+
*.sdf
353+
*.cachefile
354+
355+
# Visual Studio profiler
356+
*.psess
357+
*.vsp
358+
*.vspx
359+
360+
# TFS 2012 Local Workspace
361+
$tf/
362+
363+
# Guidance Automation Toolkit
364+
*.gpState
365+
366+
# ReSharper is a .NET coding add-in
367+
_ReSharper*/
368+
*.[Rr]e[Ss]harper
369+
*.DotSettings.user
370+
371+
# JustCode is a .NET coding addin-in
372+
.JustCode
373+
374+
# TeamCity is a build add-in
375+
_TeamCity*
376+
377+
# DotCover is a Code Coverage Tool
378+
*.dotCover
379+
380+
# NCrunch
381+
_NCrunch_*
382+
.*crunch*.local.xml
383+
384+
# MightyMoose
385+
*.mm.*
386+
AutoTest.Net/
387+
388+
# Web workbench (sass)
389+
.sass-cache/
390+
391+
# Installshield output folder
392+
[Ee]xpress/
393+
394+
# DocProject is a documentation generator add-in
395+
DocProject/buildhelp/
396+
DocProject/Help/*.HxT
397+
DocProject/Help/*.HxC
398+
DocProject/Help/*.hhc
399+
DocProject/Help/*.hhk
400+
DocProject/Help/*.hhp
401+
DocProject/Help/Html2
402+
DocProject/Help/html
403+
404+
# Click-Once directory
405+
publish/
406+
407+
# Publish Web Output
408+
*.[Pp]ublish.xml
409+
*.azurePubxml
410+
# TODO: Comment the next line if you want to checkin your web deploy settings
411+
# but database connection strings (with potential passwords) will be unencrypted
412+
*.pubxml
413+
*.publishproj
414+
415+
# NuGet Packages
416+
*.nupkg
417+
# The packages folder can be ignored because of Package Restore
418+
**/packages/*
419+
# except build/, which is used as an MSBuild target.
420+
!**/packages/build/
421+
# If using the old MSBuild-Integrated Package Restore, uncomment this:
422+
#!**/packages/repositories.config
423+
424+
# Windows Azure Build Output
425+
csx/
426+
*.build.csdef
427+
428+
# Windows Store app package directory
429+
AppPackages/
430+
431+
# Others
432+
# sql/
433+
*.Cache
434+
ClientBin/
435+
[Ss]tyle[Cc]op.*
436+
~$*
437+
*~
438+
*.dbmdl
439+
*.dbproj.schemaview
440+
*.pfx
441+
*.publishsettings
442+
node_modules/
443+
444+
# RIA/Silverlight projects
445+
Generated_Code/
446+
447+
# Backup & report files from converting an old project file
448+
# to a newer Visual Studio version. Backup files are not needed,
449+
# because we have git ;-)
450+
_UpgradeReport_Files/
451+
Backup*/
452+
UpgradeLog*.XML
453+
UpgradeLog*.htm
454+
455+
# SQL Server files
456+
*.mdf
457+
*.ldf
458+
459+
# Business Intelligence projects
460+
*.rdl.data
461+
*.bim.layout
462+
*.bim_*.settings
463+
464+
# Microsoft Fakes
465+
FakesAssemblies/

storage/connect/CMakeLists.txt

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@ ha_connect.cc connect.cc user_connect.cc mycat.cc
2121
fmdlex.c osutil.c plugutil.c rcmsg.c rcmsg.h
2222
array.cpp blkfil.cpp colblk.cpp csort.cpp
2323
filamap.cpp filamdbf.cpp filamfix.cpp filamtxt.cpp filamvct.cpp filamzip.cpp
24-
filter.cpp json.cpp jsonudf.cpp maputil.cpp myutil.cpp plgdbutl.cpp reldef.cpp
25-
tabcol.cpp tabdos.cpp tabfix.cpp tabfmt.cpp tabjson.cpp table.cpp tabmul.cpp
26-
taboccur.cpp tabpivot.cpp tabsys.cpp tabtbl.cpp tabutil.cpp tabvct.cpp tabvir.cpp
27-
tabxcl.cpp valblk.cpp value.cpp xindex.cpp xobject.cpp
24+
filter.cpp json.cpp jsonudf.cpp maputil.cpp myconn.cpp myutil.cpp plgdbutl.cpp
25+
reldef.cpp tabcol.cpp tabdos.cpp tabfix.cpp tabfmt.cpp tabjson.cpp table.cpp
26+
tabmul.cpp tabmysql.cpp taboccur.cpp tabpivot.cpp tabsys.cpp tabtbl.cpp tabutil.cpp
27+
tabvct.cpp tabvir.cpp tabxcl.cpp valblk.cpp value.cpp xindex.cpp xobject.cpp
2828

2929
array.h blkfil.h block.h catalog.h checklvl.h colblk.h connect.h csort.h
3030
engmsg.h filamap.h filamdbf.h filamfix.h filamtxt.h filamvct.h filamzip.h
3131
filter.h global.h ha_connect.h inihandl.h json.h maputil.h msgid.h mycat.h
32-
myutil.h os.h osutil.h plgcnx.h plgdbsem.h preparse.h reldef.h resource.h
33-
tabcol.h tabdos.h tabfix.h tabfmt.h tabjson.h tabmul.h taboccur.h tabpivot.h
34-
tabsys.h tabtbl.h tabutil.h tabvct.h tabvir.h tabxcl.h user_connect.h
35-
valblk.h value.h xindex.h xobject.h xtable.h)
32+
myconn.h myutil.h os.h osutil.h plgcnx.h plgdbsem.h preparse.h reldef.h
33+
resource.h tabcol.h tabdos.h tabfix.h tabfmt.h tabjson.h tabmul.h tabmysql.h
34+
taboccur.h tabpivot.h tabsys.h tabtbl.h tabutil.h tabvct.h tabvir.h tabxcl.h
35+
user_connect.h valblk.h value.h xindex.h xobject.h xtable.h)
3636

3737
#
3838
# Definitions that are shared for all OSes
@@ -166,24 +166,15 @@ IF(LIBXML2_FOUND OR MSXML_FOUND)
166166
ENDIF()
167167

168168
#
169-
# MySQL
169+
# MySQL is now included unconditionnally
170170
#
171171

172-
OPTION(CONNECT_WITH_MYSQL
173-
"Compile CONNECT storage engine with remote MySQL connection support"
174-
ON)
175-
176-
IF(CONNECT_WITH_MYSQL)
177-
SET(CONNECT_SOURCES ${CONNECT_SOURCES}
178-
myconn.cpp myconn.h tabmysql.cpp tabmysql.h)
179-
add_definitions(-DMYSQL_SUPPORT)
180-
IF(NOT UNIX)
181-
#
182-
# TODO: remove this
183-
# change to use "#include "../../include/mysql.h" in the sources.
184-
INCLUDE_DIRECTORIES("../../include/mysql")
185-
ENDIF(NOT UNIX)
186-
ENDIF(CONNECT_WITH_MYSQL)
172+
IF(NOT UNIX)
173+
#
174+
# TODO: remove this
175+
# change to use "#include "../../include/mysql.h" in the sources.
176+
INCLUDE_DIRECTORIES("../../include/mysql")
177+
ENDIF(NOT UNIX)
187178

188179

189180
#
@@ -232,6 +223,8 @@ IF(CONNECT_WITH_ODBC)
232223
DOC "Specify the ODBC driver manager library here."
233224
)
234225

226+
mark_as_advanced(ODBC_LIBRARY ODBC_INCLUDE_DIR)
227+
235228
IF(ODBC_INCLUDE_DIR AND ODBC_LIBRARY)
236229
set(CMAKE_REQUIRED_LIBRARIES ${ODBC_LIBRARY})
237230
set(CMAKE_REQUIRED_INCLUDES ${ODBC_INCLUDE_DIR})

storage/connect/connect.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#include "tabcol.h"
4343
#include "catalog.h"
4444
#include "ha_connect.h"
45-
#include "mycat.h"
4645

4746
#define my_strupr(p) my_caseup_str(default_charset_info, (p));
4847
#define my_strlwr(p) my_casedn_str(default_charset_info, (p));

0 commit comments

Comments
 (0)