Re: How to create a SQL engine like MySQL server

harryxiyou <[email protected]> Fri, 30 Jan 2015 00:34:53 +0800
Newsgroups gmane.comp.db.mysql.devel
Message-ID <CAD+1EGP7kw1KgodyeKBXuZdhQoqN2cX2qdhpDmxQ_r84scok4A@mail.gmail.com>
On Thu, Jan 29, 2015 at 8:09 PM, harryxiyou <[email protected]> wrote:
> On Thu, Jan 29, 2015 at 6:07 PM, Stewart Smith
> <[email protected]> wrote:
> [...]
>> Yes, you'll need Intel Threading Building Blocks, specific libdrizzle
>> version etc etc. Should be documented, or at very least, documented in
>> the debian build-dependencies :)
>>
>
> There is still an error as follows.
>
> harryxiyou@common_vm ~/workshop1/percona_playback-0.1 $ make
> cd . && python config/pandora-plugin write
> make  all-am
> make[1]: Entering directory `/lhome/harryxiyou/workshop1/percona_playback-0.1'
> cd . && python config/pandora-plugin write
>   CXX    percona_playback/libpercona_playback_la-percona_playback.lo
>   CXX    percona_playback/libpercona_playback_la-plugin.lo
>   CXX    percona_playback/libpercona_playback_la-db_thread.lo
> In file included from percona_playback/db_thread.cc:18:
> ./percona_playback/db_thread.h:34: error: wrong number of template
> arguments (2, should be 4)
> /usr/include/tbb/concurrent_hash_map.h:48: error: provided for
> 'template<class Key, class T, class HashCompare, class A> class
> tbb::concurrent_hash_map'
> ./percona_playback/db_thread.h:34: error: invalid type in declaration
> before ';' token
> ./percona_playback/db_thread.h:46: error: ISO C++ forbids declaration
> of 'concurrent_bounded_queue' with no type
> ./percona_playback/db_thread.h:46: error: invalid use of '::'
> ./percona_playback/db_thread.h:46: error: expected ';' before '<' token
> ./percona_playback/db_thread.h: In constructor 'DBThread::DBThread(uint64_t)':
> ./percona_playback/db_thread.h:49: error: 'queries' was not declared
> in this scope
> percona_playback/db_thread.cc: In member function 'bool DBThread::run()':
> percona_playback/db_thread.cc:29: error: 'queries' was not declared in
> this scope
> percona_playback/db_thread.cc: In function 'void
> RunDBThread(DBThread*, uint64_t)':
> percona_playback/db_thread.cc:52: error: request for member 'erase' in
> 'db_executors', which is of non-class type 'DBExecutorsTable'
> make[1]: *** [percona_playback/libpercona_playback_la-db_thread.lo] Error 1
> make[1]: Leaving directory `/lhome/harryxiyou/workshop1/percona_playback-0.1'
> make: *** [all] Error 2
>
>

BTW, I haven't found the way to be connected by standard MySQL client
in Percona Playback source codes :-/


>
> Thanks, Harry

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals