Skip to content

Commit 8db45c4

Browse files
author
Git for Windows Build Agent
committed
Update 2 packages
mingw-w64-clang-aarch64-c-ares (1.28.1-1 -> 1.29.0-1) mingw-w64-clang-aarch64-sqlite3 (3.45.3-1 -> 3.46.0-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent 40767e8 commit 8db45c4

File tree

165 files changed

+401
-147
lines changed

Some content is hidden

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

165 files changed

+401
-147
lines changed

clangarm64/bin/adig.exe

0 Bytes
Binary file not shown.

clangarm64/bin/ahost.exe

0 Bytes
Binary file not shown.

clangarm64/bin/dbhash.exe

12 KB
Binary file not shown.

clangarm64/bin/libcares-2.dll

3 KB
Binary file not shown.

clangarm64/bin/libsqlite3-0.dll

12.5 KB
Binary file not shown.

clangarm64/bin/showdb.exe

12 KB
Binary file not shown.

clangarm64/bin/showjournal.exe

11.5 KB
Binary file not shown.

clangarm64/bin/showstat4.exe

11.5 KB
Binary file not shown.

clangarm64/bin/showwal.exe

11.5 KB
Binary file not shown.

clangarm64/bin/sqldiff.exe

12.5 KB
Binary file not shown.

clangarm64/bin/sqlite3.exe

30 KB
Binary file not shown.

clangarm64/bin/sqlite3_analyzer.exe

11.5 KB
Binary file not shown.

clangarm64/include/ares.h

Lines changed: 47 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ typedef enum {
255255
#define ARES_OPT_MAXTIMEOUTMS (1 << 20)
256256
#define ARES_OPT_QUERY_CACHE (1 << 21)
257257
#define ARES_OPT_EVENT_THREAD (1 << 22)
258+
#define ARES_OPT_SERVER_FAILOVER (1 << 23)
258259

259260
/* Nameinfo flag values */
260261
#define ARES_NI_NOFQDN (1 << 0)
@@ -305,6 +306,9 @@ typedef enum {
305306
#define ARES_LIB_INIT_WIN32 (1 << 0)
306307
#define ARES_LIB_INIT_ALL (ARES_LIB_INIT_WIN32)
307308

309+
/* Server state callback flag values */
310+
#define ARES_SERV_STATE_UDP (1 << 0) /* Query used UDP */
311+
#define ARES_SERV_STATE_TCP (1 << 1) /* Query used TCP */
308312

309313
/*
310314
* Typedef our socket type
@@ -326,6 +330,18 @@ typedef void (*ares_sock_state_cb)(void *data, ares_socket_t socket_fd,
326330

327331
struct apattern;
328332

333+
/* Options controlling server failover behavior.
334+
* The retry chance is the probability (1/N) by which we will retry a failed
335+
* server instead of the best server when selecting a server to send queries
336+
* to.
337+
* The retry delay is the minimum time in milliseconds to wait between doing
338+
* such retries (applied per-server).
339+
*/
340+
struct ares_server_failover_options {
341+
unsigned short retry_chance;
342+
size_t retry_delay;
343+
};
344+
329345
/* NOTE about the ares_options struct to users and developers.
330346
331347
This struct will remain looking like this. It will not be extended nor
@@ -368,6 +384,7 @@ struct ares_options {
368384
int maxtimeout; /* in milliseconds */
369385
unsigned int qcache_max_ttl; /* Maximum TTL for query cache, 0=disabled */
370386
ares_evsys_t evsys;
387+
struct ares_server_failover_options server_failover_opts;
371388
};
372389

373390
struct hostent;
@@ -430,6 +447,10 @@ typedef int (*ares_sock_config_callback)(ares_socket_t socket_fd, int type,
430447
typedef void (*ares_addrinfo_callback)(void *arg, int status, int timeouts,
431448
struct ares_addrinfo *res);
432449

450+
typedef void (*ares_server_state_callback)(const char *server_string,
451+
ares_bool_t success, int flags,
452+
void *data);
453+
433454
CARES_EXTERN int ares_library_init(int flags);
434455

435456
CARES_EXTERN int ares_library_init_mem(int flags, void *(*amalloc)(size_t size),
@@ -452,16 +473,16 @@ CARES_EXTERN const char *ares_version(int *version);
452473
CARES_EXTERN CARES_DEPRECATED_FOR(ares_init_options) int ares_init(
453474
ares_channel_t **channelptr);
454475

455-
CARES_EXTERN int ares_init_options(ares_channel_t **channelptr,
456-
const struct ares_options *options,
457-
int optmask);
476+
CARES_EXTERN int ares_init_options(ares_channel_t **channelptr,
477+
const struct ares_options *options,
478+
int optmask);
458479

459-
CARES_EXTERN int ares_save_options(ares_channel_t *channel,
460-
struct ares_options *options, int *optmask);
480+
CARES_EXTERN int ares_save_options(const ares_channel_t *channel,
481+
struct ares_options *options, int *optmask);
461482

462-
CARES_EXTERN void ares_destroy_options(struct ares_options *options);
483+
CARES_EXTERN void ares_destroy_options(struct ares_options *options);
463484

464-
CARES_EXTERN int ares_dup(ares_channel_t **dest, ares_channel_t *src);
485+
CARES_EXTERN int ares_dup(ares_channel_t **dest, const ares_channel_t *src);
465486

466487
CARES_EXTERN ares_status_t ares_reinit(ares_channel_t *channel);
467488

@@ -491,6 +512,11 @@ CARES_EXTERN void ares_set_socket_callback(ares_channel_t *ch
491512
CARES_EXTERN void ares_set_socket_configure_callback(
492513
ares_channel_t *channel, ares_sock_config_callback callback, void *user_data);
493514

515+
CARES_EXTERN void
516+
ares_set_server_state_callback(ares_channel_t *channel,
517+
ares_server_state_callback callback,
518+
void *user_data);
519+
494520
CARES_EXTERN int ares_set_sortlist(ares_channel_t *channel,
495521
const char *sortstr);
496522

@@ -608,17 +634,17 @@ CARES_EXTERN void ares_getnameinfo(ares_channel_t *channel,
608634

609635
CARES_EXTERN CARES_DEPRECATED_FOR(
610636
ARES_OPT_EVENT_THREAD or
611-
ARES_OPT_SOCK_STATE_CB) int ares_fds(ares_channel_t *channel,
637+
ARES_OPT_SOCK_STATE_CB) int ares_fds(const ares_channel_t *channel,
612638
fd_set *read_fds, fd_set *write_fds);
613639

614640
CARES_EXTERN CARES_DEPRECATED_FOR(
615641
ARES_OPT_EVENT_THREAD or
616-
ARES_OPT_SOCK_STATE_CB) int ares_getsock(ares_channel_t *channel,
642+
ARES_OPT_SOCK_STATE_CB) int ares_getsock(const ares_channel_t *channel,
617643
ares_socket_t *socks, int numsocks);
618644

619-
CARES_EXTERN struct timeval *ares_timeout(ares_channel_t *channel,
620-
struct timeval *maxtv,
621-
struct timeval *tv);
645+
CARES_EXTERN struct timeval *ares_timeout(const ares_channel_t *channel,
646+
struct timeval *maxtv,
647+
struct timeval *tv);
622648

623649
CARES_EXTERN CARES_DEPRECATED_FOR(ares_process_fd) void ares_process(
624650
ares_channel_t *channel, fd_set *read_fds, fd_set *write_fds);
@@ -842,22 +868,24 @@ CARES_EXTERN CARES_DEPRECATED_FOR(ares_set_servers_csv) int ares_set_servers(
842868
ares_channel_t *channel, const struct ares_addr_node *servers);
843869

844870
CARES_EXTERN
845-
CARES_DEPRECATED_FOR(ares_set_servers_ports_csv) int ares_set_servers_ports(
846-
ares_channel_t *channel, const struct ares_addr_port_node *servers);
871+
CARES_DEPRECATED_FOR(ares_set_servers_ports_csv)
872+
int ares_set_servers_ports(ares_channel_t *channel,
873+
const struct ares_addr_port_node *servers);
847874

848875
/* Incoming string format: host[:port][,host[:port]]... */
849876
CARES_EXTERN int ares_set_servers_csv(ares_channel_t *channel,
850877
const char *servers);
851878
CARES_EXTERN int ares_set_servers_ports_csv(ares_channel_t *channel,
852879
const char *servers);
853-
CARES_EXTERN char *ares_get_servers_csv(ares_channel_t *channel);
880+
CARES_EXTERN char *ares_get_servers_csv(const ares_channel_t *channel);
854881

855882
CARES_EXTERN CARES_DEPRECATED_FOR(ares_get_servers_csv) int ares_get_servers(
856-
ares_channel_t *channel, struct ares_addr_node **servers);
883+
const ares_channel_t *channel, struct ares_addr_node **servers);
857884

858885
CARES_EXTERN
859-
CARES_DEPRECATED_FOR(ares_get_servers_ports_csv) int ares_get_servers_ports(
860-
ares_channel_t *channel, struct ares_addr_port_node **servers);
886+
CARES_DEPRECATED_FOR(ares_get_servers_ports_csv)
887+
int ares_get_servers_ports(const ares_channel_t *channel,
888+
struct ares_addr_port_node **servers);
861889

862890
CARES_EXTERN const char *ares_inet_ntop(int af, const void *src, char *dst,
863891
ares_socklen_t size);
@@ -891,7 +919,7 @@ CARES_EXTERN ares_status_t ares_queue_wait_empty(ares_channel_t *channel,
891919
* \param[in] channel Initialized ares channel
892920
* \return Number of active queries to servers
893921
*/
894-
CARES_EXTERN size_t ares_queue_active_queries(ares_channel_t *channel);
922+
CARES_EXTERN size_t ares_queue_active_queries(const ares_channel_t *channel);
895923

896924
#ifdef __cplusplus
897925
}

clangarm64/include/ares_version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
#define ARES_COPYRIGHT "2004 - 2024 Daniel Stenberg, <[email protected]>."
3232

3333
#define ARES_VERSION_MAJOR 1
34-
#define ARES_VERSION_MINOR 28
35-
#define ARES_VERSION_PATCH 1
34+
#define ARES_VERSION_MINOR 29
35+
#define ARES_VERSION_PATCH 0
3636
#define ARES_VERSION \
3737
((ARES_VERSION_MAJOR << 16) | (ARES_VERSION_MINOR << 8) | \
3838
(ARES_VERSION_PATCH))
39-
#define ARES_VERSION_STR "1.28.1"
39+
#define ARES_VERSION_STR "1.29.0"
4040

4141
#if (ARES_VERSION >= 0x010700)
4242
# define CARES_HAVE_ARES_LIBRARY_INIT 1

clangarm64/include/sqlite3.h

Lines changed: 74 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ extern "C" {
146146
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147147
** [sqlite_version()] and [sqlite_source_id()].
148148
*/
149-
#define SQLITE_VERSION "3.45.3"
150-
#define SQLITE_VERSION_NUMBER 3045003
151-
#define SQLITE_SOURCE_ID "2024-04-15 13:34:05 8653b758870e6ef0c98d46b3ace27849054af85da891eb121e9aaa537f1ealt1"
149+
#define SQLITE_VERSION "3.46.0"
150+
#define SQLITE_VERSION_NUMBER 3046000
151+
#define SQLITE_SOURCE_ID "2024-05-23 13:25:27 96c92aba00c8375bc32fafcdf12429c58bd8aabfcadab6683e35bbb9cdebalt1"
152152

153153
/*
154154
** CAPI3REF: Run-Time Library Version Numbers
@@ -764,11 +764,11 @@ struct sqlite3_file {
764764
** </ul>
765765
** xLock() upgrades the database file lock. In other words, xLock() moves the
766766
** database file lock in the direction NONE toward EXCLUSIVE. The argument to
767-
** xLock() is always on of SHARED, RESERVED, PENDING, or EXCLUSIVE, never
767+
** xLock() is always one of SHARED, RESERVED, PENDING, or EXCLUSIVE, never
768768
** SQLITE_LOCK_NONE. If the database file lock is already at or above the
769769
** requested lock, then the call to xLock() is a no-op.
770770
** xUnlock() downgrades the database file lock to either SHARED or NONE.
771-
* If the lock is already at or below the requested lock state, then the call
771+
** If the lock is already at or below the requested lock state, then the call
772772
** to xUnlock() is a no-op.
773773
** The xCheckReservedLock() method checks whether any database connection,
774774
** either in this process or in some other process, is holding a RESERVED,
@@ -3305,8 +3305,8 @@ SQLITE_API int sqlite3_set_authorizer(
33053305
#define SQLITE_RECURSIVE 33 /* NULL NULL */
33063306

33073307
/*
3308-
** CAPI3REF: Tracing And Profiling Functions
3309-
** METHOD: sqlite3
3308+
** CAPI3REF: Deprecated Tracing And Profiling Functions
3309+
** DEPRECATED
33103310
**
33113311
** These routines are deprecated. Use the [sqlite3_trace_v2()] interface
33123312
** instead of the routines described here.
@@ -6887,6 +6887,12 @@ SQLITE_API int sqlite3_autovacuum_pages(
68876887
** The exceptions defined in this paragraph might change in a future
68886888
** release of SQLite.
68896889
**
6890+
** Whether the update hook is invoked before or after the
6891+
** corresponding change is currently unspecified and may differ
6892+
** depending on the type of change. Do not rely on the order of the
6893+
** hook call with regards to the final result of the operation which
6894+
** triggers the hook.
6895+
**
68906896
** The update hook implementation must not do anything that will modify
68916897
** the database connection that invoked the update hook. Any actions
68926898
** to modify the database connection must be deferred until after the
@@ -8357,7 +8363,7 @@ SQLITE_API int sqlite3_test_control(int op, ...);
83578363
** The sqlite3_keyword_count() interface returns the number of distinct
83588364
** keywords understood by SQLite.
83598365
**
8360-
** The sqlite3_keyword_name(N,Z,L) interface finds the N-th keyword and
8366+
** The sqlite3_keyword_name(N,Z,L) interface finds the 0-based N-th keyword and
83618367
** makes *Z point to that keyword expressed as UTF8 and writes the number
83628368
** of bytes in the keyword into *L. The string that *Z points to is not
83638369
** zero-terminated. The sqlite3_keyword_name(N,Z,L) routine returns
@@ -9936,24 +9942,45 @@ SQLITE_API const char *sqlite3_vtab_collation(sqlite3_index_info*,int);
99369942
** <li value="2"><p>
99379943
** ^(If the sqlite3_vtab_distinct() interface returns 2, that means
99389944
** that the query planner does not need the rows returned in any particular
9939-
** order, as long as rows with the same values in all "aOrderBy" columns
9940-
** are adjacent.)^ ^(Furthermore, only a single row for each particular
9941-
** combination of values in the columns identified by the "aOrderBy" field
9942-
** needs to be returned.)^ ^It is always ok for two or more rows with the same
9943-
** values in all "aOrderBy" columns to be returned, as long as all such rows
9944-
** are adjacent. ^The virtual table may, if it chooses, omit extra rows
9945-
** that have the same value for all columns identified by "aOrderBy".
9946-
** ^However omitting the extra rows is optional.
9945+
** order, as long as rows with the same values in all columns identified
9946+
** by "aOrderBy" are adjacent.)^ ^(Furthermore, when two or more rows
9947+
** contain the same values for all columns identified by "colUsed", all but
9948+
** one such row may optionally be omitted from the result.)^
9949+
** The virtual table is not required to omit rows that are duplicates
9950+
** over the "colUsed" columns, but if the virtual table can do that without
9951+
** too much extra effort, it could potentially help the query to run faster.
99479952
** This mode is used for a DISTINCT query.
99489953
** <li value="3"><p>
9949-
** ^(If the sqlite3_vtab_distinct() interface returns 3, that means
9950-
** that the query planner needs only distinct rows but it does need the
9951-
** rows to be sorted.)^ ^The virtual table implementation is free to omit
9952-
** rows that are identical in all aOrderBy columns, if it wants to, but
9953-
** it is not required to omit any rows. This mode is used for queries
9954+
** ^(If the sqlite3_vtab_distinct() interface returns 3, that means the
9955+
** virtual table must return rows in the order defined by "aOrderBy" as
9956+
** if the sqlite3_vtab_distinct() interface had returned 0. However if
9957+
** two or more rows in the result have the same values for all columns
9958+
** identified by "colUsed", then all but one such row may optionally be
9959+
** omitted.)^ Like when the return value is 2, the virtual table
9960+
** is not required to omit rows that are duplicates over the "colUsed"
9961+
** columns, but if the virtual table can do that without
9962+
** too much extra effort, it could potentially help the query to run faster.
9963+
** This mode is used for queries
99549964
** that have both DISTINCT and ORDER BY clauses.
99559965
** </ol>
99569966
**
9967+
** <p>The following table summarizes the conditions under which the
9968+
** virtual table is allowed to set the "orderByConsumed" flag based on
9969+
** the value returned by sqlite3_vtab_distinct(). This table is a
9970+
** restatement of the previous four paragraphs:
9971+
**
9972+
** <table border=1 cellspacing=0 cellpadding=10 width="90%">
9973+
** <tr>
9974+
** <td valign="top">sqlite3_vtab_distinct() return value
9975+
** <td valign="top">Rows are returned in aOrderBy order
9976+
** <td valign="top">Rows with the same value in all aOrderBy columns are adjacent
9977+
** <td valign="top">Duplicates over all colUsed columns may be omitted
9978+
** <tr><td>0<td>yes<td>yes<td>no
9979+
** <tr><td>1<td>no<td>yes<td>no
9980+
** <tr><td>2<td>no<td>yes<td>yes
9981+
** <tr><td>3<td>yes<td>yes<td>yes
9982+
** </table>
9983+
**
99579984
** ^For the purposes of comparing virtual table output values to see if the
99589985
** values are same value for sorting purposes, two NULL values are considered
99599986
** to be the same. In other words, the comparison operator is "IS"
@@ -11998,6 +12025,30 @@ SQLITE_API int sqlite3changegroup_schema(sqlite3_changegroup*, sqlite3*, const c
1199812025
*/
1199912026
SQLITE_API int sqlite3changegroup_add(sqlite3_changegroup*, int nData, void *pData);
1200012027

12028+
/*
12029+
** CAPI3REF: Add A Single Change To A Changegroup
12030+
** METHOD: sqlite3_changegroup
12031+
**
12032+
** This function adds the single change currently indicated by the iterator
12033+
** passed as the second argument to the changegroup object. The rules for
12034+
** adding the change are just as described for [sqlite3changegroup_add()].
12035+
**
12036+
** If the change is successfully added to the changegroup, SQLITE_OK is
12037+
** returned. Otherwise, an SQLite error code is returned.
12038+
**
12039+
** The iterator must point to a valid entry when this function is called.
12040+
** If it does not, SQLITE_ERROR is returned and no change is added to the
12041+
** changegroup. Additionally, the iterator must not have been opened with
12042+
** the SQLITE_CHANGESETAPPLY_INVERT flag. In this case SQLITE_ERROR is also
12043+
** returned.
12044+
*/
12045+
SQLITE_API int sqlite3changegroup_add_change(
12046+
sqlite3_changegroup*,
12047+
sqlite3_changeset_iter*
12048+
);
12049+
12050+
12051+
1200112052
/*
1200212053
** CAPI3REF: Obtain A Composite Changeset From A Changegroup
1200312054
** METHOD: sqlite3_changegroup
@@ -12802,8 +12853,8 @@ struct Fts5PhraseIter {
1280212853
** EXTENSION API FUNCTIONS
1280312854
**
1280412855
** xUserData(pFts):
12805-
** Return a copy of the context pointer the extension function was
12806-
** registered with.
12856+
** Return a copy of the pUserData pointer passed to the xCreateFunction()
12857+
** API when the extension function was registered.
1280712858
**
1280812859
** xColumnTotalSize(pFts, iCol, pnToken):
1280912860
** If parameter iCol is less than zero, set output variable *pnToken

clangarm64/lib/cmake/c-ares/c-ares-config-version.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
# The variable CVF_VERSION must be set before calling configure_file().
1010

1111

12-
set(PACKAGE_VERSION "1.28.1")
12+
set(PACKAGE_VERSION "1.29.0")
1313

1414
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
1515
set(PACKAGE_VERSION_COMPATIBLE FALSE)
1616
else()
1717

18-
if("1.28.1" MATCHES "^([0-9]+)\\.")
18+
if("1.29.0" MATCHES "^([0-9]+)\\.")
1919
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
2020
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
2121
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
2222
endif()
2323
else()
24-
set(CVF_VERSION_MAJOR "1.28.1")
24+
set(CVF_VERSION_MAJOR "1.29.0")
2525
endif()
2626

2727
if(PACKAGE_FIND_VERSION_RANGE)

clangarm64/lib/libcares.a

8 KB
Binary file not shown.

clangarm64/lib/libcares.dll.a

202 Bytes
Binary file not shown.

clangarm64/lib/libsqlite3.a

15.8 KB
Binary file not shown.

clangarm64/lib/libsqlite3.dll.a

202 Bytes
Binary file not shown.

clangarm64/lib/pkgconfig/libcares.pc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ includedir=${prefix}/include
1414
Name: c-ares
1515
URL: https://c-ares.org/
1616
Description: asynchronous DNS lookup library
17-
Version: 1.28.1
17+
Version: 1.29.0
1818
Requires:
1919
Requires.private:
2020
Cflags: -I${includedir}

clangarm64/lib/pkgconfig/sqlite3.pc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ includedir=${prefix}/include
77

88
Name: SQLite
99
Description: SQL database engine
10-
Version: 3.45.3
10+
Version: 3.46.0
1111
Libs: -L${libdir} -lsqlite3
1212
Libs.private: -lz -lpthread
1313
Cflags: -I${includedir}

clangarm64/lib/sqlite3.45.3/pkgIndex.tcl

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package ifneeded sqlite3 3.46.0 [list load [file join $dir libtclsqlite3[info sharedlibextension]] sqlite3]
-16 Bytes
Binary file not shown.
-6 Bytes
Binary file not shown.
-39 Bytes
Binary file not shown.
-22 Bytes
Binary file not shown.
-16 Bytes
Binary file not shown.
-16 Bytes
Binary file not shown.
-15 Bytes
Binary file not shown.
-6 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-17 Bytes
Binary file not shown.
-35 Bytes
Binary file not shown.
-26 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-48 Bytes
Binary file not shown.
-195 Bytes
Binary file not shown.
-49 Bytes
Binary file not shown.
-39 Bytes
Binary file not shown.
-40 Bytes
Binary file not shown.
Binary file not shown.
-19 Bytes
Binary file not shown.
3 Bytes
Binary file not shown.
-9 Bytes
Binary file not shown.
-11 Bytes
Binary file not shown.
351 Bytes
Binary file not shown.
-26 Bytes
Binary file not shown.
-27 Bytes
Binary file not shown.
Binary file not shown.
-41 Bytes
Binary file not shown.
-68 Bytes
Binary file not shown.
Binary file not shown.
-48 Bytes
Binary file not shown.
-42 Bytes
Binary file not shown.
Binary file not shown.
-73 Bytes
Binary file not shown.
-41 Bytes
Binary file not shown.
-75 Bytes
Binary file not shown.
-116 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-39 Bytes
Binary file not shown.
-3 Bytes
Binary file not shown.
80 Bytes
Binary file not shown.
-21 Bytes
Binary file not shown.
-38 Bytes
Binary file not shown.
-39 Bytes
Binary file not shown.
-11 Bytes
Binary file not shown.
-10 Bytes
Binary file not shown.
-10 Bytes
Binary file not shown.
Binary file not shown.
-238 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-37 Bytes
Binary file not shown.
-7 Bytes
Binary file not shown.
-34 Bytes
Binary file not shown.

clangarm64/share/sqlite/extensions/README.md

Lines changed: 1 addition & 1 deletion
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

clangarm64/share/sqlite/extensions/cksumvfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,9 +446,9 @@ static int cksmRead(
446446
** (2) checksum verification is enabled
447447
** (3) we are not in the middle of checkpoint
448448
*/
449-
if( iAmt>=512 /* (1) */
450-
&& p->verifyCksm /* (2) */
451-
&& !p->inCkpt /* (3) */
449+
if( iAmt>=512 && (iAmt & (iAmt-1))==0 /* (1) */
450+
&& p->verifyCksm /* (2) */
451+
&& !p->inCkpt /* (3) */
452452
){
453453
u8 cksum[8];
454454
cksmCompute((u8*)zBuf, iAmt-8, cksum);
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)