on within a single database node or between database shards
=item * replication rules defined in JSON files
=item * synchronous replication within a single database through the use of automatically-
ion.json --shard-source=shard.json create-queue
% incline --rdbms=mysql --database=microblog --host=10.1.1.1 \
--user=root --password=XXXXXXXX --mode=shard \
--source=replication.json --
shard-source=shard.json create-trigger
The files, `replication.json' and `shard.json' should contain the definitions shown in the sections above.
=head2 RUNNING THE FORWARDER
To transfer modificati
ficial
* policies, either expressed or implied, of Cybozu Labs, Inc.
*
*/
#ifndef picojson_h
#define picojson_h
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include
: 4244) // conversion from int to char
#else
#define SNPRINTF snprintf
#endif
namespace picojson {
enum {
null_type,
boolean_type,
number_type,
string_type,
array_type,
rator>>(std::istream& is, picojson::value& x)
{
picojson::set_last_error(std::string());
std::string err = picojson::parse(x, is);
if (! err.empty()) {
picojson::set_last_error(err);
is.