summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/lang
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2019-05-07 16:35:05 +1000
committerLuke Chen <luke.chen@mongodb.com>2019-05-07 16:35:05 +1000
commit400e0500147836ba11ab611bdac2675d65cb7b48 (patch)
treeb87b043ef767d5ca50d43ec6a7ad09f6f4d27073 /src/third_party/wiredtiger/lang
parent8ad1effc48ac5193c5f57630d1fbce8bda0cfdaf (diff)
downloadmongo-400e0500147836ba11ab611bdac2675d65cb7b48.tar.gz
Import wiredtiger: d9ec69f9111b036ee0b19b47368e15bff8d4818d from branch mongodb-4.2
ref: 617a81369c..d9ec69f911 for: 4.1.11 WT-4278 Clarify in docs that schema operations are not transactional WT-4309 Increase the maximum expected LAS test reads WT-4352 Resolve birthmarks during eviction in more cases WT-4582 Respect prepared updates in lookaside WT-4642 Store transaction IDs durably WT-4670 Remove support for WiredTiger LevelDB APIs WT-4688 Fix test and docs for correct log cursor usage WT-4690 Make sure eviction does not split during checkpoints WT-4697 Python3: change workgen to work with Python3 WT-4706 Add a statistic to track the lookaside table size WT-4723 Restructure the reconciliation code WT-4725 Python3: change miscellaneous scripts to run under Python3 WT-4726 Python3: set up pull request tester to run with Python3 WT-4728 Remove the stop timestamp from the WT_UPDATE structure WT-4738 Tighten rules around use of timestamps WT-4745 Update upgrading documentation before 3.2.0 WiredTiger release WT-4746 Document that transactions without timestamps clear history WT-4749 Fix error message formatting (possible SEGV) for prepare_transaction WT-4751 Change __wt_timestamp_to_string() to return a pointer to simplify verbose WT-4752 WiredTiger autoconfig check for the compiler incorrectly quoted WT-4753 Strip the timing_stress configuration options from the base configuration WT-4754 Change the checkpoint code to not require a list order WT-4755 Switch to a better timestamp and transaction ID ordering convention WT-4756 Fix comment in python integer encoder WT-4759 Save a copy when an old overflow value is discarded WT-4764 Avoid choosing a transaction frequency of 0 in test/format
Diffstat (limited to 'src/third_party/wiredtiger/lang')
-rwxr-xr-xsrc/third_party/wiredtiger/lang/python/wiredtiger/fpacking.py2
-rwxr-xr-xsrc/third_party/wiredtiger/lang/python/wiredtiger/intpacking.py4
-rwxr-xr-xsrc/third_party/wiredtiger/lang/python/wiredtiger/packing.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/lang/python/wiredtiger/fpacking.py b/src/third_party/wiredtiger/lang/python/wiredtiger/fpacking.py
index 6501783a8e3..096a4c9aa0f 100755
--- a/src/third_party/wiredtiger/lang/python/wiredtiger/fpacking.py
+++ b/src/third_party/wiredtiger/lang/python/wiredtiger/fpacking.py
@@ -30,7 +30,7 @@
# struct library.
import struct
-from .packing import empty_pack
+from wiredtiger.packing import empty_pack
def __wt2struct(fmt):
if not fmt:
diff --git a/src/third_party/wiredtiger/lang/python/wiredtiger/intpacking.py b/src/third_party/wiredtiger/lang/python/wiredtiger/intpacking.py
index 27e756eb87b..ce28ea8ae2d 100755
--- a/src/third_party/wiredtiger/lang/python/wiredtiger/intpacking.py
+++ b/src/third_party/wiredtiger/lang/python/wiredtiger/intpacking.py
@@ -28,7 +28,7 @@
#
from __future__ import print_function
-from .packing import _chr, _ord
+from wiredtiger.packing import _chr, _ord
import math, struct, sys
# Variable-length integer packing
@@ -46,7 +46,7 @@ import math, struct, sys
# [01 xxxxxx] | 0 | -2^6 | -1
# [10 xxxxxx] | 0 | 0 | 2^6 - 1
# [11 0xxxxx] | 1 | 2^6 | 2^13 + 2^6 - 1
-# [11 10llll] | l | 2^14 + 2^7 | 2^64 - 1
+# [11 10llll] | l | 2^13 + 2^6 | 2^64 - 1
# [11 11xxxx] | free | N/A | N/A
NEG_MULTI_MARKER = 0x10
diff --git a/src/third_party/wiredtiger/lang/python/wiredtiger/packing.py b/src/third_party/wiredtiger/lang/python/wiredtiger/packing.py
index c1c5a9bc6a3..31b12a58126 100755
--- a/src/third_party/wiredtiger/lang/python/wiredtiger/packing.py
+++ b/src/third_party/wiredtiger/lang/python/wiredtiger/packing.py
@@ -92,7 +92,7 @@ else:
def _string_result(s):
return s
-from .intpacking import pack_int, unpack_int
+from wiredtiger.intpacking import pack_int, unpack_int
def __get_type(fmt):
if not fmt: