New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

libsql-experimental

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

libsql-experimental - pypi Package Compare versions

Comparing version
0.0.52
to
0.0.53
+1
-1
Cargo.lock

@@ -872,3 +872,3 @@ # This file is automatically @generated by Cargo.

name = "libsql-python"
version = "0.0.52"
version = "0.0.53"
dependencies = [

@@ -875,0 +875,0 @@ "libsql",

[package]
name = "libsql-python"
version = "0.0.52"
version = "0.0.53"
edition = "2021"

@@ -5,0 +5,0 @@

Metadata-Version: 2.4
Name: libsql-experimental
Version: 0.0.52
Version: 0.0.53
Classifier: Programming Language :: Rust

@@ -5,0 +5,0 @@ Classifier: Programming Language :: Python :: Implementation :: CPython

@@ -7,3 +7,3 @@ [build-system]

name = "libsql-experimental"
version = "0.0.52"
version = "0.0.53"
requires-python = ">=3.7"

@@ -10,0 +10,0 @@ classifiers = [

@@ -584,11 +584,15 @@ use ::libsql as libsql_core;

.map_err(to_py_err)?;
let rows = stmt.query(params).await.map_err(to_py_err)?;
if stmt_is_dml {
let mut rowcount = cursor.rowcount.borrow_mut();
*rowcount += cursor.conn.borrow().as_ref().unwrap().changes() as i64;
if stmt.columns().iter().len() > 0 {
let rows = stmt.query(params).await.map_err(to_py_err)?;
cursor.rows.replace(Some(rows));
} else {
cursor.rowcount.replace(-1);
stmt.execute(params).await.map_err(to_py_err)?;
cursor.rows.replace(None);
}
let mut rowcount = cursor.rowcount.borrow_mut();
*rowcount += cursor.conn.borrow().as_ref().unwrap().changes() as i64;
cursor.stmt.replace(Some(stmt));
cursor.rows.replace(Some(rows));
Ok(())

@@ -595,0 +599,0 @@ }