mirror of
				https://github.com/containers/podman.git
				synced 2025-10-31 18:08:51 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			555 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			555 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| //go:build libsqlite3 && !sqlite_serialize
 | |
| // +build libsqlite3,!sqlite_serialize
 | |
| 
 | |
| package sqlite3
 | |
| 
 | |
| import (
 | |
| 	"errors"
 | |
| )
 | |
| 
 | |
| /*
 | |
| #cgo CFLAGS: -DSQLITE_OMIT_DESERIALIZE
 | |
| */
 | |
| import "C"
 | |
| 
 | |
| func (c *SQLiteConn) Serialize(schema string) ([]byte, error) {
 | |
| 	return nil, errors.New("sqlite3: Serialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
 | |
| }
 | |
| 
 | |
| func (c *SQLiteConn) Deserialize(b []byte, schema string) error {
 | |
| 	return errors.New("sqlite3: Deserialize requires the sqlite_serialize build tag when using the libsqlite3 build tag")
 | |
| }
 | 
![renovate[bot]](/assets/img/avatar_default.png)