This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script | |
index b92bde1..bbc8400 100644 | |
--- a/src/couch/rebar.config.script | |
+++ b/src/couch/rebar.config.script | |
@@ -10,30 +10,32 @@ | |
%% License for the specific language governing permissions and limitations under | |
%% the License. | |
-%% declare values | |
CouchJSName = case os:type() of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rcouch subtree split notes | |
========================== | |
Starting point: | |
c73144aaef7f86d169afd685dae121463efea658 | |
This commit is huge and moves lots of things around. First step is | |
to reset to just before this commit to start our subtree extractions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Splitting an RCouch App | |
======================= | |
$ git reset --hard add9173^ | |
$ git subtree split -P src/couch_mrview/ | |
# Snipped... | |
-n 3769/ 3771 (3768) | |
-n 3770/ 3771 (3769) | |
-n 3771/ 3771 (3770) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int | |
main(int argc, char* argv[]) | |
{ | |
fprintf(stderr, "%d\r\n", (char) -1); | |
fprintf(stderr, "%lu\r\n", sizeof(char)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <assert.h> | |
#include <stdio.h> | |
#include <spatialindex/capi/sidx_api.h> | |
void | |
insert_box(IndexH idx, int id, double x, double y, double l) | |
{ | |
double mins[] = {x - l, y - l}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/c_src/b64url.c b/c_src/b64url.c | |
index 842d82e..074d9a0 100644 | |
--- a/c_src/b64url.c | |
+++ b/c_src/b64url.c | |
@@ -411,6 +411,7 @@ b64url_encode_cont(ErlNifEnv* env, int argc, const ENTERM argv[]) | |
ErlNifBinary src; | |
b64url_priv* priv = (b64url_priv*) enif_priv_data(env); | |
b64url_st* st = NULL; | |
+ void* res = NULL; | |
int status; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/couch/src/couch_btree.erl b/apps/couch/src/couch_btree.erl | |
index 36c2553..e76a485 100644 | |
--- a/apps/couch/src/couch_btree.erl | |
+++ b/apps/couch/src/couch_btree.erl | |
@@ -348,27 +348,34 @@ complete_root(Bt, KPs) -> | |
% written. | |
chunkify(InList) -> | |
- BaseChunkSize = list_to_integer(config:get("couchdb", | |
- "btree_chunk_size", "1279")), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env escript | |
%% -*- erlang -*- | |
%%! -pa ./src/couchdb -sasl errlog_type error -boot start_sasl -noshell | |
%% | |
main(_) -> | |
code:add_pathz("src/couchdb"), | |
application:load(crypto), | |
crypto:start(), | |
etap:plan(unknown), | |
case (catch test()) of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/.gitignore b/.gitignore | |
index ea1f975..70788fa 100644 | |
--- a/.gitignore | |
+++ b/.gitignore | |
@@ -1,3 +1,5 @@ | |
+ | |
+# copied from jChirs .gitignore | |
*.beam | |
*.gz | |
*.tpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% The lock counting VM is the same except for being built with | |
% --enable-lock-counting | |
(dbcore@db1.cluster.name.goes.here)3> erlang:system_info(system_version). | |
"Erlang/OTP 17 [erts-6.4] [source] [64-bit] [smp:24:24] [async-threads:32] [hipe] [kernel-poll:true]\n" | |
% These were captured after the test and back on the non | |
% lock counting emulator just to show a rough estimate on | |
% reductions and proc counts for this node. | |
(dbcore@db1.cluster.name.goes.here)2> erlang:statistics(reductions). |
OlderNewer